ostream.tcc (ostream::seekp): Add error checking as per DR 129.
authorBenjamin Kosnik <bkoz@redhat.com>
Mon, 11 Jun 2001 19:20:20 +0000 (19:20 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Mon, 11 Jun 2001 19:20:20 +0000 (19:20 +0000)
commitd52a9847833019e4d61a4b2ed2c3dcb144a615b1
tree5f88fa75f0de65a7ba5623c98d7af9c8e8d7bb89
parent353e51f8e5da990ea163d43b6ce6c828848f4891
ostream.tcc (ostream::seekp): Add error checking as per DR 129.

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

libstdc++/3114
* include/bits/ostream.tcc (ostream::seekp): Add error checking as
per DR 129.
* include/bits/istream.tcc (istream::seekg): Same.
* testsuite/27_io/istream_seeks.cc: Fix.

libstdc++/3113
* include/bits/stl_function.h (binder2nd): Fix as per DR 109.
(binder1st): Same.
* include/bits/std_queue.h: Add c++config.h.
* testsuite/20_util/binders.cc: New test.

From-SVN: r43201
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/istream.tcc
libstdc++-v3/include/bits/ostream.tcc
libstdc++-v3/include/bits/std_queue.h
libstdc++-v3/include/bits/stl_function.h
libstdc++-v3/testsuite/20_util/binders.cc [new file with mode: 0644]
libstdc++-v3/testsuite/27_io/istream_seeks.cc