mirror of git://gcc.gnu.org/git/gcc.git
iterator.h: Include <bits/std_iterator.h>, remove reverse_bidirectional_iterator.
2001-09-04 Scott Johnston <scott@accom.com> Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de> * include/backward/iterator.h: Include <bits/std_iterator.h>, remove reverse_bidirectional_iterator. * testsuite/backward: New directory. * testsuite/backward/header_iterator_h.cc: New file. Co-Authored-By: Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de> From-SVN: r45389
This commit is contained in:
parent
0286a91d40
commit
45932d27fb
|
@ -1,3 +1,11 @@
|
||||||
|
2001-09-04 Scott Johnston <scott@accom.com>
|
||||||
|
Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
|
||||||
|
|
||||||
|
* include/backward/iterator.h: Include <bits/std_iterator.h>,
|
||||||
|
remove reverse_bidirectional_iterator.
|
||||||
|
* testsuite/backward: New directory.
|
||||||
|
* testsuite/backward/header_iterator_h.cc: New file.
|
||||||
|
|
||||||
2001-09-04 Benjamin Kosnik <bkoz@redhat.com>
|
2001-09-04 Benjamin Kosnik <bkoz@redhat.com>
|
||||||
|
|
||||||
* include/c_std/bits/std_c*.h: Don't use include_next.
|
* include/c_std/bits/std_c*.h: Don't use include_next.
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
#include "function.h"
|
#include "function.h"
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include "iostream.h"
|
#include "iostream.h"
|
||||||
#include "iterator.h"
|
#include <bits/std_iterator.h>
|
||||||
|
|
||||||
#include <bits/stl_construct.h>
|
#include <bits/stl_construct.h>
|
||||||
#include <bits/stl_raw_storage_iter.h>
|
#include <bits/stl_raw_storage_iter.h>
|
||||||
|
@ -80,7 +80,6 @@ using std::front_inserter;
|
||||||
using std::back_inserter;
|
using std::back_inserter;
|
||||||
|
|
||||||
using std::reverse_iterator;
|
using std::reverse_iterator;
|
||||||
using std::reverse_bidirectional_iterator;
|
|
||||||
|
|
||||||
using std::istream_iterator;
|
using std::istream_iterator;
|
||||||
using std::ostream_iterator;
|
using std::ostream_iterator;
|
||||||
|
@ -105,7 +104,7 @@ template <class _ForwardIterator>
|
||||||
inline void
|
inline void
|
||||||
destroy(_ForwardIterator __first, _ForwardIterator __last)
|
destroy(_ForwardIterator __first, _ForwardIterator __last)
|
||||||
{ std::_Destroy(__first, __last); }
|
{ std::_Destroy(__first, __last); }
|
||||||
}
|
|
||||||
|
|
||||||
// Names from stl_raw_storage_iter.h
|
// Names from stl_raw_storage_iter.h
|
||||||
using std::raw_storage_iterator;
|
using std::raw_storage_iterator;
|
||||||
|
|
|
@ -0,0 +1,31 @@
|
||||||
|
// 2001-09-04 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
|
||||||
|
|
||||||
|
// Copyright (C) 2001 Free Software Foundation, Inc.
|
||||||
|
//
|
||||||
|
// This file is part of the GNU ISO C++ Library. This library is free
|
||||||
|
// software; you can redistribute it and/or modify it under the
|
||||||
|
// terms of the GNU General Public License as published by the
|
||||||
|
// Free Software Foundation; either version 2, or (at your option)
|
||||||
|
// any later version.
|
||||||
|
|
||||||
|
// This library is distributed in the hope that it will be useful,
|
||||||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
// GNU General Public License for more details.
|
||||||
|
|
||||||
|
// You should have received a copy of the GNU General Public License along
|
||||||
|
// with this library; see the file COPYING. If not, write to the Free
|
||||||
|
// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
// USA.
|
||||||
|
|
||||||
|
// backward header iterator.h
|
||||||
|
|
||||||
|
#include <iterator.h>
|
||||||
|
#include <testsuite_hooks.h>
|
||||||
|
|
||||||
|
// { dg-excess-errors "" }
|
||||||
|
|
||||||
|
int main(void)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
Reference in New Issue