gcc/libstdc++-v3/include/backward
Benjamin Kosnik 26c691a88b re PR libstdc++/12854 (libstdc++ vs. -Weffc++)
2004-05-22  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/12854
	Fixups for -Weffc++.
	* include/bits/basic_string.h (basic_string::operator=): Return
	pointer to this instead of result of assign. Although redundant,
	this doesn't impact resultant codegen.

	* include/bits/locale_facets.h (__numpunct_cache): Declare
	assignment opxserator and copy constructor private.
	(__timepunct_cache): Same.
	(__moneypunct_cache): Same.
	(collate): Use member initialization list for _M_c_locale_collate.
	* config/locale/gnu/messages_members.h: Same.
	* config/locale/gnu/time_members.h (__timepunct): Same.
	* src/codecvt.cc: Use member initialization list to initialize
	_M_c_locale_codecvt.
	* src/ctype.cc: Same, with _M_c_locale_ctype and _M_narrow_ok.
	* config/os/gnu-linux/ctype_noninline.h: Same.
	* src/locale.cc (_Impl): Same.
	* src/locale_init.cc: Same.
	* src/localename.cc: Same.

	* include/bits/basic_ios.h (basic_ios): Complete member
	initialization list.
	* include/bits/istream.tcc (basic_istream::sentry): Same.
	* include/bits/ostream.tcc (basic_ostream::sentry): Same.
	* include/bits/fstream.tcc (basic_filebuf): Add _M_lock and
	_M_pback to member initialization list.
	* include/std/std_streambuf.h: Same.
	* include/std/std_sstream.h: Same, for _M_mode.
	* src/ios.cc (ios_base): Same.

	* include/ext/rope: Make derived classes match exception

	 specifications. Add copy constructors and assignment operators.

	* include/debug/safe_base.h (_Safe_sequence_base): Declare copy
	constructor and assignment operator protected.
	(_Safe_iterator_base): Same.
	* include/debug/formatter.h (_Error_formatter): Define copy
	constructor and assignment operator.

	* include/backward/strstream: Declare assignment operator and copy
	constructor private.

From-SVN: r82153
2004-05-22 23:46:34 +00:00
..
algo.h algo.h, [...]: Remove trailing whitespace. 2003-12-09 04:27:10 +01:00
algobase.h algo.h, [...]: Remove trailing whitespace. 2003-12-09 04:27:10 +01:00
alloc.h Makefile.am (bits_headers): Remove allocator_traits.h. 2004-01-29 00:18:40 +00:00
backward_warning.h
bvector.h re PR libstdc++/14647 (bit_vectors are broken (regression)) 2004-03-19 06:54:40 -08:00
complex.h algo.h, [...]: Remove trailing whitespace. 2003-12-09 04:27:10 +01:00
defalloc.h algo.h, [...]: Remove trailing whitespace. 2003-12-09 04:27:10 +01:00
deque.h
fstream.h
function.h algo.h, [...]: Remove trailing whitespace. 2003-12-09 04:27:10 +01:00
hash_map.h
hash_set.h
hashtable.h
heap.h
iomanip.h
iostream.h
istream.h
iterator.h iterator.h: Add GPL copyright info, with exception clause. 2004-05-06 22:02:05 +00:00
list.h
map.h
multimap.h
multiset.h
new.h algo.h, [...]: Remove trailing whitespace. 2003-12-09 04:27:10 +01:00
ostream.h algo.h, [...]: Remove trailing whitespace. 2003-12-09 04:27:10 +01:00
pair.h
queue.h algo.h, [...]: Remove trailing whitespace. 2003-12-09 04:27:10 +01:00
rope.h algo.h, [...]: Remove trailing whitespace. 2003-12-09 04:27:10 +01:00
set.h
slist.h
stack.h
stream.h algo.h, [...]: Remove trailing whitespace. 2003-12-09 04:27:10 +01:00
streambuf.h algo.h, [...]: Remove trailing whitespace. 2003-12-09 04:27:10 +01:00
strstream re PR libstdc++/12854 (libstdc++ vs. -Weffc++) 2004-05-22 23:46:34 +00:00
tempbuf.h algo.h, [...]: Remove trailing whitespace. 2003-12-09 04:27:10 +01:00
tree.h algo.h, [...]: Remove trailing whitespace. 2003-12-09 04:27:10 +01:00
vector.h algo.h, [...]: Remove trailing whitespace. 2003-12-09 04:27:10 +01:00