]> git.ipfire.org Git - thirdparty/gcc.git/commit - libstdc++-v3/testsuite/testsuite_io.h
testsuite_io.h (class sync_buf): New, templatized version of sync_streambuf; add...
authorPaolo Carlini <pcarlini@suse.de>
Thu, 2 Dec 2004 13:24:46 +0000 (13:24 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Thu, 2 Dec 2004 13:24:46 +0000 (13:24 +0000)
commit9b8d9ac39f3183ec65a452cc0bc9de7f546eab85
treecf5e401d029e9d9483a5eda4c357897bd09897d9
parent1afffb0073735109c8ca6fa2780fb44db169b87a
testsuite_io.h (class sync_buf): New, templatized version of sync_streambuf; add typedefs for streambuf/wstreambuf.

2004-12-02  Paolo Carlini  <pcarlini@suse.de>

* testsuite/testsuite_io.h (class sync_buf): New, templatized
version of sync_streambuf; add typedefs for streambuf/wstreambuf.
(class fail_buf): Likewise, for fail_streambuf.
(class fail_num_get): Templatize and add char/wchar_t typedefs.
(class fail_num_put): Likewise.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/
exceptions_badbit_throw.cc: Use the latter.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/
exceptions_failbit_throw.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/char/
exceptions_badbit_throw.cc: Likewise.
* testsuite/27_io/basic_ostream/inserters_arithmetic/char/
exceptions_failbit_throw.cc: Likewise.

From-SVN: r91635
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/exceptions_badbit_throw.cc
libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/exceptions_failbit_throw.cc
libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/exceptions_badbit_throw.cc
libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/exceptions_failbit_throw.cc
libstdc++-v3/testsuite/testsuite_io.h