From: Paolo Carlini Date: Mon, 31 Dec 2001 09:10:39 +0000 (+0100) Subject: algo.h: Include , tweak using declarations. X-Git-Tag: prereleases/libstdc++-3.0.96~788 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a2ee91448039c4df6e463daa818af56035ab00f2;p=thirdparty%2Fgcc.git algo.h: Include , tweak using declarations. 2001-12-31 Paolo Carlini * include/backward/algo.h: Include , tweak using declarations. From-SVN: r48421 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 1560e1c84a03..27f5d11e9449 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2001-12-31 Paolo Carlini + + * include/backward/algo.h: Include , + tweak using declarations. + 2001-12-29 Richard Henderson * config/os/hpux/bits/os_defines.h: Don't define __glibcpp_long_bits. diff --git a/libstdc++-v3/include/backward/algo.h b/libstdc++-v3/include/backward/algo.h index 3f53f0554b4b..84f87011dff2 100644 --- a/libstdc++-v3/include/backward/algo.h +++ b/libstdc++-v3/include/backward/algo.h @@ -62,6 +62,7 @@ #include "iterator.h" #include #include +#include // Names from using std::for_each; @@ -91,8 +92,6 @@ using std::reverse_copy; using std::rotate; using std::rotate_copy; using std::random_shuffle; -using std::random_sample; -using std::random_sample_n; using std::partition; using std::stable_partition; using std::sort; @@ -117,8 +116,6 @@ using std::next_permutation; using std::prev_permutation; using std::find_first_of; using std::find_end; -using std::is_sorted; -using std::is_heap; // Names from stl_heap.h using std::push_heap; @@ -134,6 +131,12 @@ using std::adjacent_difference; using std::power; using std::iota; +// Names from ext/algorithm +using __gnu_cxx::random_sample; +using __gnu_cxx::random_sample_n; +using __gnu_cxx::is_sorted; +using __gnu_cxx::is_heap; + #endif /* _CPP_BACKWARD_ALGO_H */ // Local Variables: