libstdc++/testsuite/27_io ios_base_callbacks.cc

bkoz@sourceware.cygnus.com bkoz@sourceware.cygnus.com
Thu Nov 11 12:17:00 GMT 1999


CVSROOT:	/cvs/libstdc++
Module name:	libstdc++
Changes by:	bkoz@sourceware.cygnus.com	99/11/11 12:17:37

Added files:
	testsuite/27_io: ios_base_callbacks.cc 

Log message:
	1999-11-10  Benjamin Kosnik  <bkoz@cygnus.com>
	
	* bits/std_ostream.h: Add callbacks for _M_fnumput.
	(_S_ostream_fcache): New function.
	Move functions out-of-line.
	* bits/ostream.tcc: Put here.
	
	* bits/std_istream.h: Add callbacks for _M_fnumget.
	(_S_istream_fcache): New function.
	Move functions out-of-line.
	* bits/istream.tcc: Put here.
	
	* bits/basic_ios.tcc (basic_ios::imbue): Tweaks, remove call to
	_M_call_callbacks(), as ios_base::imbue does this already.
	* src/ios.cc (register_callback): Clean.
	(_M_call_callbacks): Same.
	* bits/ios_base.h: Callback work.
	* testsuite/27_io/ios_base_callbacks.cc (test01): New file.



More information about the Libstdc++-cvs mailing list