From 85b38d169af2d3d2a46363fb9c9dd1e3b2ad1320 Mon Sep 17 00:00:00 2001 From: vng Date: Fri, 4 Feb 2011 10:31:43 +0200 Subject: [PATCH] Add some "std". --- std/algorithm.hpp | 1 + std/stack.hpp | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 std/stack.hpp diff --git a/std/algorithm.hpp b/std/algorithm.hpp index 56d951f31b..73ba338381 100644 --- a/std/algorithm.hpp +++ b/std/algorithm.hpp @@ -14,6 +14,7 @@ using std::max_element; using std::min; using std::next_permutation; using std::sort; +using std::stable_sort; using std::swap; using std::upper_bound; using std::unique; diff --git a/std/stack.hpp b/std/stack.hpp new file mode 100644 index 0000000000..88d2bbd4fe --- /dev/null +++ b/std/stack.hpp @@ -0,0 +1,12 @@ +#include "common_defines.hpp" + +#ifdef new +#undef new +#endif + +#include +using std::stack; + +#ifdef DEBUG_NEW +#define new DEBUG_NEW +#endif