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
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
algo.h | Loading commit data... | |
algobase.h | Loading commit data... | |
alloc.h | Loading commit data... | |
backward_warning.h | Loading commit data... | |
bvector.h | Loading commit data... | |
complex.h | Loading commit data... | |
defalloc.h | Loading commit data... | |
deque.h | Loading commit data... | |
fstream.h | Loading commit data... | |
function.h | Loading commit data... | |
hash_map.h | Loading commit data... | |
hash_set.h | Loading commit data... | |
hashtable.h | Loading commit data... | |
heap.h | Loading commit data... | |
iomanip.h | Loading commit data... | |
iostream.h | Loading commit data... | |
istream.h | Loading commit data... | |
iterator.h | Loading commit data... | |
list.h | Loading commit data... | |
map.h | Loading commit data... | |
multimap.h | Loading commit data... | |
multiset.h | Loading commit data... | |
new.h | Loading commit data... | |
ostream.h | Loading commit data... | |
pair.h | Loading commit data... | |
queue.h | Loading commit data... | |
rope.h | Loading commit data... | |
set.h | Loading commit data... | |
slist.h | Loading commit data... | |
stack.h | Loading commit data... | |
stream.h | Loading commit data... | |
streambuf.h | Loading commit data... | |
strstream | Loading commit data... | |
tempbuf.h | Loading commit data... | |
tree.h | Loading commit data... | |
vector.h | Loading commit data... |