gcc/libstdc++-v3/include/std
Paolo Carlini 0002d5d2bc re PR libstdc++/25482 (Specialize (overload) std::copy/find for streambuf iterators)
2006-03-21  Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/25482
	* include/bits/stl_algobase.h (__copy_aux(_CharT*, _CharT*,
	ostreambuf_iterator<_CharT>), __copy_aux(const _CharT*, const _CharT*,
	ostreambuf_iterator<_CharT>), __copy_aux(istreambuf_iterator<_CharT>,
	istreambuf_iterator<_CharT>, _CharT*), copy(istreambuf_iterator<_CharT>,
	istreambuf_iterator<_CharT>, ostreambuf_iterator<_CharT>)): Declare.
	* include/bits/stl_algo.h (find(istreambuf_iterator<_CharT>,
	istreambuf_iterator<_CharT>, _CharT)): Likewise.
	* include/bits/streambuf_iterator.h (copy(istreambuf_iterator<_CharT>,
	istreambuf_iterator<_CharT>, ostreambuf_iterator<_CharT>),
	__copy_aux(_CharT*, _CharT*, ostreambuf_iterator<_CharT>),
	__copy_aux(const _CharT*, const _CharT*, ostreambuf_iterator<_CharT>),
	__copy_aux(istreambuf_iterator<_CharT>, istreambuf_iterator<_CharT>,
	_CharT*), find(istreambuf_iterator<_CharT>, istreambuf_iterator<_CharT>,
	_CharT)): Define.
	(class istreambuf_iterator<>, class ostreambuf_iterator<>): Declare
	friends.
	* include/std/std_streambuf.h (class basic_streambuf<>): Likewise.
	* include/bits/cpp_type_traits.h (struct __is_char<>): Add.
	* testsuite/25_algorithms/copy/streambuf_iterators/char/1.cc: New.
	* testsuite/25_algorithms/copy/streambuf_iterators/char/2.cc: New.
	* testsuite/25_algorithms/copy/streambuf_iterators/char/3.cc: New.
	* testsuite/25_algorithms/copy/streambuf_iterators/char/4.cc: New.
	* testsuite/25_algorithms/copy/streambuf_iterators/wchar_t/1.cc: New.
	* testsuite/25_algorithms/copy/streambuf_iterators/wchar_t/2.cc: New.
	* testsuite/25_algorithms/copy/streambuf_iterators/wchar_t/3.cc: New.
	* testsuite/25_algorithms/copy/streambuf_iterators/wchar_t/4.cc: New.
	* testsuite/25_algorithms/find/istreambuf_iterators/char/1.cc: New.
	* testsuite/25_algorithms/find/istreambuf_iterators/char/2.cc: New.
	* testsuite/25_algorithms/find/istreambuf_iterators/wchar_t/1.cc: New.
	* testsuite/25_algorithms/find/istreambuf_iterators/wchar_t/2.cc: New.
	* testsuite/performance/25_algorithms/copy_streambuf_iterators.cc: New.
	* testsuite/performance/25_algorithms/find_istreambuf_iterators.cc: New.

From-SVN: r112247
2006-03-21 12:25:11 +00:00
..
std_algorithm.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
std_bitset.h std_bitset.h (bitset<>::_M_copy_to_string): Call the internal _Unchecked_set(size_t) instead of set. 2006-01-26 23:39:33 +00:00
std_complex.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
std_deque.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
std_fstream.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
std_functional.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
std_iomanip.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
std_ios.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
std_iosfwd.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
std_iostream.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
std_istream.h re PR libstdc++/25649 (Bogus "uninitialized" warning) 2006-01-24 23:12:26 +00:00
std_iterator.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
std_limits.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
std_list.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
std_locale.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
std_map.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
std_memory.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
std_numeric.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
std_ostream.h re PR libstdc++/25649 (Bogus "uninitialized" warning) 2006-01-24 23:12:26 +00:00
std_queue.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
std_set.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
std_sstream.h std_sstream.h (basic_stringbuf<>::setbuf): Simply clear the internal _M_string, adjust _M_sync call. 2006-02-19 18:27:06 +00:00
std_stack.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
std_stdexcept.h c++config: Add in revised namespace associations. 2005-12-19 00:56:05 +00:00
std_streambuf.h re PR libstdc++/25482 (Specialize (overload) std::copy/find for streambuf iterators) 2006-03-21 12:25:11 +00:00
std_string.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
std_utility.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
std_valarray.h re PR libstdc++/25626 (Valarray vs non-POD) 2006-01-15 18:04:31 +00:00
std_vector.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00