diff options
author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-12-31 09:10:39 +0000 |
---|---|---|
committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-12-31 09:10:39 +0000 |
commit | 3d5289c0bf587af7cc7729fb107acae6d8dc4893 (patch) | |
tree | b62789f26a126f55981107f050e777676a2a484f /libstdc++-v3/include | |
parent | 09ba043a6c540b117ea22b20a897d7d6fafe28e1 (diff) |
2001-12-31 Paolo Carlini <pcarlini@unitus.it>
* include/backward/algo.h: Include <ext/algorithm>,
tweak using declarations.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48421 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include')
-rw-r--r-- | libstdc++-v3/include/backward/algo.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/libstdc++-v3/include/backward/algo.h b/libstdc++-v3/include/backward/algo.h index 3f53f0554b4..84f87011dff 100644 --- a/libstdc++-v3/include/backward/algo.h +++ b/libstdc++-v3/include/backward/algo.h @@ -62,6 +62,7 @@ #include "iterator.h" #include <bits/stl_algo.h> #include <bits/stl_numeric.h> +#include <ext/algorithm> // Names from <stl_algo.h> 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: |