gcc/libstdc++-v3/include/std
Paolo Carlini bda243ec50 Nathan C.
2003-07-14  Paolo Carlini  <pcarlini@unitus.it>
	    Nathan C. Myers  <ncm-nospam@cantrip.org>

	PR libstdc++/11378
	* include/std/std_fstream.h (xsputn): Declare only.
	* include/bits/fstream.tcc (xsputn): Define, optimize for the
	always_noconv() case: when __n is sufficiently large flush
	the buffer and issue a direct write, if possible combining the
	two with writev in __basic_file<>::xsputn_2.
	* config/io/basic_file_stdio.h (__basic_file<>::xsputn_2):
	New, declare.
	* config/io/basic_file_stdio.cc (__basic_file<>::xsputn_2):
	Define.
	* acinclude.m4 (GLIBCXX_CHECK_WRITE): New macro, checking for
	the availability of writev in <sys/uio.h>.
	* configure.in: Call here.
	* acconfig.h: Add undef for the corresponding symbol.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* config.h.in: Regenerate.
	* testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Tweak.

	* include/std/std_fstream.h (sync): Constify a variable.

Co-Authored-By: Nathan C. Myers <ncm-nospam@cantrip.org>

From-SVN: r69341
2003-07-14 18:23:12 +00:00
..
std_algorithm.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
std_bitset.h std_bitset.h: Fully qualify standard functions with std::, thus avoiding Koenig lookup. 2003-07-05 08:18:58 +00:00
std_complex.h std_complex.h: Partially revert last changes: cmath functions must not be qualified. 2003-07-07 12:15:00 +00:00
std_deque.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
std_fstream.h Nathan C. 2003-07-14 18:23:12 +00:00
std_functional.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
std_iomanip.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
std_ios.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
std_iosfwd.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
std_iostream.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
std_istream.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
std_iterator.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
std_limits.h std_limits.h: More CPP->CXX changes. 2003-07-05 06:00:05 +00:00
std_list.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
std_locale.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
std_map.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
std_memory.h std_complex.h: Fully qualify standard functions with std::, thus avoiding Koenig lookup. 2003-07-05 20:44:17 +00:00
std_numeric.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
std_ostream.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
std_queue.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
std_set.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
std_sstream.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
std_stack.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
std_stdexcept.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
std_streambuf.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
std_string.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
std_utility.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00
std_valarray.h std_complex.h: Fully qualify standard functions with std::, thus avoiding Koenig lookup. 2003-07-05 20:44:17 +00:00
std_vector.h Move from CPP to CXX. 2003-07-05 04:05:45 +00:00