6067bea410
2003-02-17 Benjamin Kosnik <bkoz@redhat.com> * include/bits/basic_ios.tcc (copyfmt): Copy locale data as well. * testsuite/27_io/ios_members.cc (test03): New. 2003-02-17 Jerry Quinn <jlquinn@optonline.net> * include/bits/basic_ios.h (basic_ios::_M_cache_locale): Declare. (basic_ios::_M_cache_facets): Move into above. * include/bits/basic_ios.tcc (basic_ios::copyfmt): Rebuild locale cache. (basic_ios::imbue): Force locale cache to be built. (basic_ios::_M_init): Create and initialize locale cache. * include/bits/ios_base.h (__locale_cache_base): Declare. (ios_base::_M_locale_cache): New. (ios_base::_M_cache): Define. * include/bits/locale_facets.h: (__num_base): Fix comment. Add _S_end. (__locale_cache_base,__locale_cache<_CharT>): New classes. (__locale_cache<char>, __locale_cache<wchar_t>): New specializations. * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use locale cache literal string, grouping flag, thousands separator. (__locale_cache<_CharT>::__locale_cache): New. (__locale_cache<_CharT>::_M_init): New. (__locale_cache<_CharT>::_M_populate): New. * src/ios.cc: Clear _M_locale_cache in constructor. * src/locale-inst.cc (__locale_cache<char>, __locale_cache<_char_t>): New. From-SVN: r63025 |
||
---|---|---|
.. | ||
istream_extractor_arith | ||
filebuf_members-1.tst | ||
filebuf_members-1.txt | ||
filebuf_members.cc | ||
filebuf_virtuals-1.tst | ||
filebuf_virtuals-1.txt | ||
filebuf_virtuals-2.tst | ||
filebuf_virtuals-3.tst | ||
filebuf_virtuals.cc | ||
filebuf.cc | ||
fpos.cc | ||
fstream_members.cc | ||
fstream.cc | ||
ifstream_members-1.tst | ||
ifstream_members-1.txt | ||
ifstream_members.cc | ||
ifstream.cc | ||
instantiations.cc | ||
ios_base_callbacks.cc | ||
ios_base_members_static-1.tst | ||
ios_base_members_static.cc | ||
ios_base_storage.cc | ||
ios_base_types.cc | ||
ios_ctor.cc | ||
ios_init.cc | ||
ios_manip_basefield.cc | ||
ios_manip_fmtflags.cc | ||
ios_members.cc | ||
ios.cc | ||
iostream_members.cc | ||
iostream.cc | ||
istream_extractor_char.cc | ||
istream_extractor_other-1.tst | ||
istream_extractor_other-1.txt | ||
istream_extractor_other-2.tst | ||
istream_extractor_other.cc | ||
istream_manip.cc | ||
istream_seeks-1.tst | ||
istream_seeks-1.txt | ||
istream_seeks-2.tst | ||
istream_seeks-3.tst | ||
istream_seeks.cc | ||
istream_sentry.cc | ||
istream_unformatted-1.tst | ||
istream_unformatted-1.txt | ||
istream_unformatted.cc | ||
istream.cc | ||
istringstream_members.cc | ||
istringstream.cc | ||
narrow_stream_objects.cc | ||
ofstream_members-1.tst | ||
ofstream_members.cc | ||
ofstream.cc | ||
ostream_inserter_arith.cc | ||
ostream_inserter_char-1.tst | ||
ostream_inserter_char-1.txt | ||
ostream_inserter_char.cc | ||
ostream_inserter_other-1.tst | ||
ostream_inserter_other-2.tst | ||
ostream_inserter_other.cc | ||
ostream_manip.cc | ||
ostream_seeks-1.tst | ||
ostream_seeks.cc | ||
ostream_sentry.cc | ||
ostream_unformatted.cc | ||
ostream.cc | ||
ostringstream_members.cc | ||
ostringstream.cc | ||
standard_manipulators.cc | ||
streambuf_members.cc | ||
streambuf.cc | ||
stringbuf_members.cc | ||
stringbuf_virtuals.cc | ||
stringbuf.cc | ||
stringstream_members.cc | ||
stringstream.cc | ||
wide_stream_objects.cc |