mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-17 19:40:01 +08:00
algo.h: Add two more using declarations.
2001-12-31 Paolo Carlini <pcarlini@unitus.it> * include/backward/algo.h: Add two more using declarations. * include/backward/iterator.h: Include <ext/iterator>, add using declaration. * include/ext/algorithm: Add #pragma GCC system_header. From-SVN: r48429
This commit is contained in:
parent
3d90ff9352
commit
36955a954f
@ -1,3 +1,10 @@
|
||||
2001-12-31 Paolo Carlini <pcarlini@unitus.it>
|
||||
|
||||
* include/backward/algo.h: Add two more using declarations.
|
||||
* include/backward/iterator.h: Include <ext/iterator>,
|
||||
add using declaration.
|
||||
* include/ext/algorithm: Add #pragma GCC system_header.
|
||||
|
||||
2001-12-31 Phil Edwards <pme@gcc.gnu.org>
|
||||
|
||||
* include/bits/stl_bvector.h: Change calls to 3-argument distance()
|
||||
|
@ -135,7 +135,9 @@ using std::iota;
|
||||
using __gnu_cxx::random_sample;
|
||||
using __gnu_cxx::random_sample_n;
|
||||
using __gnu_cxx::is_sorted;
|
||||
using __gnu_cxx::is_heap;
|
||||
using __gnu_cxx::is_heap;
|
||||
using __gnu_cxx::count; // Extension returning void
|
||||
using __gnu_cxx::count_if; // Extension returning void
|
||||
|
||||
#endif /* _CPP_BACKWARD_ALGO_H */
|
||||
|
||||
|
@ -36,6 +36,8 @@
|
||||
#include <bits/stl_construct.h>
|
||||
#include <bits/stl_raw_storage_iter.h>
|
||||
|
||||
#include <ext/iterator> // For 3-parameter distance extension
|
||||
|
||||
// Names from stl_iterator.h
|
||||
using std::input_iterator_tag;
|
||||
using std::output_iterator_tag;
|
||||
@ -112,7 +114,8 @@ template<class _Iter>
|
||||
value_type(const _Iter& __i)
|
||||
{ return static_cast<typename iterator_traits<_Iter>::value_type*>(0); }
|
||||
|
||||
using std::distance;
|
||||
using std::distance;
|
||||
using __gnu_cxx::distance; // 3-parameter extension
|
||||
using std::advance;
|
||||
|
||||
using std::insert_iterator;
|
||||
|
@ -56,6 +56,7 @@
|
||||
#ifndef _EXT_ALGORITHM
|
||||
#define _EXT_ALGORITHM
|
||||
|
||||
#pragma GCC system_header
|
||||
#include <bits/std_algorithm.h>
|
||||
|
||||
namespace __gnu_cxx
|
||||
|
Loading…
Reference in New Issue
Block a user