std_iterator.h: Include sbuf_iter.h via std_ios.h.
authorBenjamin Kosnik <bkoz@redhat.com>
Tue, 26 Jun 2001 07:01:09 +0000 (07:01 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Tue, 26 Jun 2001 07:01:09 +0000 (07:01 +0000)
commitb581eaf7009ecd8fcdbc874fa6c432143f80d8ec
tree0fd85e82059b26ff34101160faa8506b32e2e174
parentb2b263e1cfd9fd2f0987c3a9526db4f13bfdfdf6
std_iterator.h: Include sbuf_iter.h via std_ios.h.

2001-06-26  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/std_iterator.h: Include sbuf_iter.h via std_ios.h.

* include/bits/stl_iterator.h (istream_iterator): Inherit from
iterator.
(ostream_iterator): Same.
* testsuite/24_iterators/istream_iterator.cc: New file.
* testsuite/24_iterators/ostream_iterator.cc: New file.

* include/bits/sbuf_iter.h: Remove self typedef.
* testsuite/24_iterators/ostreambuf_iterator.cc: Add test.
* testsuite/24_iterators/istreambuf_iterator.cc: Add test.

* include/bits/stl_iterator.h (reverse_iterator): Remove
extraneous typedefs. Add typename.
(__normal_iterator): Remove typedefs referring to self. Add typename.
(reverse_bidiretional_iterator): Remove, not longer required.

From-SVN: r43570
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/sbuf_iter.h
libstdc++-v3/include/bits/stl_iterator.h
libstdc++-v3/testsuite/24_iterators/istream_iterator.cc [new file with mode: 0644]
libstdc++-v3/testsuite/24_iterators/istreambuf_iterator.cc
libstdc++-v3/testsuite/24_iterators/ostream_iterator.cc [new file with mode: 0644]
libstdc++-v3/testsuite/24_iterators/ostreambuf_iterator.cc