Commit a2ee9144 by Paolo Carlini Committed by Paolo Carlini

algo.h: Include <ext/algorithm>, tweak using declarations.

2001-12-31  Paolo Carlini  <pcarlini@unitus.it>

        * include/backward/algo.h:  Include <ext/algorithm>,
        tweak using declarations.

From-SVN: r48421
parent 2b0ee5c8
2001-12-31 Paolo Carlini <pcarlini@unitus.it>
* include/backward/algo.h: Include <ext/algorithm>,
tweak using declarations.
2001-12-29 Richard Henderson <rth@redhat.com> 2001-12-29 Richard Henderson <rth@redhat.com>
* config/os/hpux/bits/os_defines.h: Don't define __glibcpp_long_bits. * config/os/hpux/bits/os_defines.h: Don't define __glibcpp_long_bits.
......
...@@ -62,6 +62,7 @@ ...@@ -62,6 +62,7 @@
#include "iterator.h" #include "iterator.h"
#include <bits/stl_algo.h> #include <bits/stl_algo.h>
#include <bits/stl_numeric.h> #include <bits/stl_numeric.h>
#include <ext/algorithm>
// Names from <stl_algo.h> // Names from <stl_algo.h>
using std::for_each; using std::for_each;
...@@ -91,8 +92,6 @@ using std::reverse_copy; ...@@ -91,8 +92,6 @@ using std::reverse_copy;
using std::rotate; using std::rotate;
using std::rotate_copy; using std::rotate_copy;
using std::random_shuffle; using std::random_shuffle;
using std::random_sample;
using std::random_sample_n;
using std::partition; using std::partition;
using std::stable_partition; using std::stable_partition;
using std::sort; using std::sort;
...@@ -117,8 +116,6 @@ using std::next_permutation; ...@@ -117,8 +116,6 @@ using std::next_permutation;
using std::prev_permutation; using std::prev_permutation;
using std::find_first_of; using std::find_first_of;
using std::find_end; using std::find_end;
using std::is_sorted;
using std::is_heap;
// Names from stl_heap.h // Names from stl_heap.h
using std::push_heap; using std::push_heap;
...@@ -134,6 +131,12 @@ using std::adjacent_difference; ...@@ -134,6 +131,12 @@ using std::adjacent_difference;
using std::power; using std::power;
using std::iota; 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 */ #endif /* _CPP_BACKWARD_ALGO_H */
// Local Variables: // Local Variables:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment