gcc/libstdc++-v3/testsuite/27_io/basic_filebuf
Benjamin Kosnik a1796d12ff re PR libstdc++/10132 (filebuf destructor throws exceptions)
2003-04-25  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/10132
	* include/std/std_fstream.h (basic_filebuf::is_open): Add throw()
	exception specifications.
	(basic_filebuf::close): Same.
	(basic_filebuf::_M_pback_destroy): Same.
	(basic_filebuf::_M_destroy_internal_buffer): Same.
	(basic_filebuf): Remove __res_type typedef.
	* src/fstream.cc: Same.
	* include/bits/fstream.tcc
	(basic_filebuf::_M_convert_to_external): Simplify.
	(basic_filebuf::seekoff): Use has_facet	before use_facet.
	(basic_filebuf::close): Add exception specification of throw().
	* testsuite/27_io/basic_filebuf/cons: New.
	* testsuite/27_io/basic_filebuf/cons/wchar_t: New.
	* testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc: New.
	* testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: New.
	* testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: New.

From-SVN: r66091
2003-04-26 00:23:18 +00:00
..
close/char 9964.cc (test_07): Adjust timing. 2003-04-22 21:06:56 +00:00
cons/wchar_t re PR libstdc++/10132 (filebuf destructor throws exceptions) 2003-04-26 00:23:18 +00:00
imbue/char [multiple changes] 2003-04-15 06:36:31 +00:00
in_avail/char PR libstdc++/9701 (in_avail()) 2003-04-14 22:43:32 +00:00
is_open/char
open/char
overflow/char
sbumpc/char Remove _M_buf_size_opt, use directly _M_buf_size instead. 2003-04-12 19:21:35 +00:00
seekoff re PR libstdc++/10132 (filebuf destructor throws exceptions) 2003-04-26 00:23:18 +00:00
seekpos re PR libstdc++/10132 (filebuf destructor throws exceptions) 2003-04-26 00:23:18 +00:00
setbuf/char
sgetc/char Remove _M_buf_size_opt, use directly _M_buf_size instead. 2003-04-12 19:21:35 +00:00
sgetn/char Remove _M_buf_size_opt, use directly _M_buf_size instead. 2003-04-12 19:21:35 +00:00
showmanyc/char
snextc/char Remove _M_buf_size_opt, use directly _M_buf_size instead. 2003-04-12 19:21:35 +00:00
sputbackc/char Remove _M_buf_size_opt, use directly _M_buf_size instead. 2003-04-12 19:21:35 +00:00
sputc/char Remove _M_buf_size_opt, use directly _M_buf_size instead. 2003-04-12 19:21:35 +00:00
sputn/char Remove _M_buf_size_opt, use directly _M_buf_size instead. 2003-04-12 19:21:35 +00:00
sungetc/char Remove _M_buf_size_opt, use directly _M_buf_size instead. 2003-04-12 19:21:35 +00:00
sync/char
underflow/char
1.cc
2.cc
3.cc 3.cc: _S_pback_size now belongs to basic_filebuf. 2003-04-23 22:34:51 +00:00
4.cc