gcc/libstdc++-v3/include/ext
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
..
algorithm
bitmap_allocator.h bitmap_allocator.h: (_Bit_scan_forward) -> Made this function call __builtin_ctz instead of the... 2004-03-24 18:27:43 +00:00
debug_allocator.h malloc_allocator.h: Fixed the construct function to call global placement new instead of assignment. 2004-03-24 21:40:01 +00:00
demangle.h [multiple changes] 2004-02-27 03:21:16 +00:00
enc_filebuf.h enc_filebuf.h: Move concept-check macro to class scope. 2004-05-18 10:09:39 +01:00
functional
hash_fun.h
hash_map
hash_set
hashtable.h
iterator
malloc_allocator.h malloc_allocator.h: Fixed the construct function to call global placement new instead of assignment. 2004-03-24 21:40:01 +00:00
memory
mt_allocator.h [multiple changes] 2004-05-18 15:58:33 +00:00
new_allocator.h malloc_allocator.h: Add operators ==, !=. 2004-02-23 15:41:43 +00:00
numeric
pod_char_traits.h
pool_allocator.h acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Add pool_allocator. 2004-03-22 13:07:13 +00:00
rb_tree
rope re PR libstdc++/12854 (libstdc++ vs. -Weffc++) 2004-05-22 23:46:34 +00:00
ropeimpl.h Fixups for EDG front end. 2004-04-07 03:33:36 +00:00
slist
stdio_filebuf.h re PR libstdc++/11691 (stdio_filebuf leaks FILE buffer when "no close" is requested) 2004-05-19 09:31:07 +01:00
stdio_sync_filebuf.h re PR libstdc++/12077 ([3.4 only] wcin.rdbuf()->in_avail() return value too high) 2004-03-19 19:31:38 +00:00