gcc/libstdc++-v3/include/std
Paolo Carlini c56e3d82fc re PR libstdc++/11722 ([3.4 only] Unbuffered filebuf::sgetn is slow)
2004-09-13  Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/11722
	* include/std/std_fstream.h (xsgetn): Declare only.
	* include/bits/fstream.tcc (xsgetn): Define, optimize for the
	always_noconv() case: when __n > __buflen, copy the available
	buffer and issue a direct read.
	* testsuite/performance/27_io/filebuf_sgetn_unbuf.cc: New.

	* include/bits/fstream.tcc (xsputn): Minor tweak, reorder a
	conditional.

From-SVN: r87453
2004-09-13 22:21:34 +00:00
..
std_algorithm.h
std_bitset.h
std_complex.h
std_deque.h
std_fstream.h re PR libstdc++/11722 ([3.4 only] Unbuffered filebuf::sgetn is slow) 2004-09-13 22:21:34 +00:00
std_functional.h
std_iomanip.h
std_ios.h
std_iosfwd.h
std_iostream.h
std_istream.h
std_iterator.h
std_limits.h
std_list.h
std_locale.h
std_map.h
std_memory.h
std_numeric.h
std_ostream.h
std_queue.h
std_set.h
std_sstream.h
std_stack.h
std_stdexcept.h
std_streambuf.h
std_string.h
std_utility.h
std_valarray.h
std_vector.h