gcc/libstdc++-v3/testsuite/27_io
Benjamin Kosnik 6067bea410 [multiple changes]
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
2003-02-18 05:45:07 +00:00
..
istream_extractor_arith libstdc++-v3-dg.exp (libstdc++-v3-init, [...]): Additionally handle files one level deeper in glob patterns. 2003-01-06 14:16:00 +00:00
filebuf_members-1.tst
filebuf_members-1.txt
filebuf_members.cc [multiple changes] 2003-02-04 18:08:45 +00:00
filebuf_virtuals-1.tst
filebuf_virtuals-1.txt
filebuf_virtuals-2.tst
filebuf_virtuals-3.tst
filebuf_virtuals.cc re PR libstdc++/9169 (filebuf output fails if codecvt<>::out returns noconv) 2003-02-17 19:05:01 +00:00
filebuf.cc Renames, namespaces for testsuite utilities. 2003-01-14 04:56:56 +00:00
fpos.cc
fstream_members.cc
fstream.cc Renames, namespaces for testsuite utilities. 2003-01-14 04:56:56 +00:00
ifstream_members-1.tst
ifstream_members-1.txt
ifstream_members.cc
ifstream.cc re PR libstdc++/7216 (basic_iostream::traits_type is ambiguous issue) 2002-07-26 01:49:36 +00:00
instantiations.cc
ios_base_callbacks.cc
ios_base_members_static-1.tst
ios_base_members_static.cc
ios_base_storage.cc vector_capacity.cc (test03): Move ... 2002-12-19 01:54:59 +00:00
ios_base_types.cc
ios_ctor.cc
ios_init.cc char_traits.h: Remove generic definitions. 2002-07-31 02:47:36 +00:00
ios_manip_basefield.cc
ios_manip_fmtflags.cc
ios_members.cc [multiple changes] 2003-02-18 05:45:07 +00:00
ios.cc re PR libstdc++/7216 (basic_iostream::traits_type is ambiguous issue) 2002-07-26 01:49:36 +00:00
iostream_members.cc
iostream.cc re PR libstdc++/7216 (basic_iostream::traits_type is ambiguous issue) 2002-07-26 01:49:36 +00:00
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 re PR libstdc++/8348 (fail() flag is set in istringstream when eof() flag is set !) 2002-11-01 05:38:27 +00:00
istream_sentry.cc re PR libstdc++/9562 (ostream::sentry::operator bool () should be const) 2003-02-07 00:26:44 +00:00
istream_unformatted-1.tst
istream_unformatted-1.txt
istream_unformatted.cc re PR libstdc++/6746 (ifstream::readsome() always returns zero) 2002-11-11 23:18:05 +00:00
istream.cc Renames, namespaces for testsuite utilities. 2003-01-14 04:56:56 +00:00
istringstream_members.cc
istringstream.cc re PR libstdc++/7216 (basic_iostream::traits_type is ambiguous issue) 2002-07-26 01:49:36 +00:00
narrow_stream_objects.cc istream.tcc (basic_istream::ignore): Use sbumpc, not snextc. 2002-08-09 06:00:46 +00:00
ofstream_members-1.tst
ofstream_members.cc
ofstream.cc re PR libstdc++/7216 (basic_iostream::traits_type is ambiguous issue) 2002-07-26 01:49:36 +00:00
ostream_inserter_arith.cc re PR libstdc++/9151 (std::setprecision limited to 16 digits when outputting a double to a stream) 2003-01-06 15:32:16 +00:00
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 streambuf.tcc (__copy_streambufs): verify __sbin->gptr() + __bufsize < __sbin->egptr() before using. 2002-11-18 22:42:35 +00:00
ostream_manip.cc
ostream_seeks-1.tst
ostream_seeks.cc
ostream_sentry.cc re PR libstdc++/9563 (ostream::sentry returns true after a failed preparation) 2003-02-12 19:39:19 +00:00
ostream_unformatted.cc
ostream.cc Renames, namespaces for testsuite utilities. 2003-01-14 04:56:56 +00:00
ostringstream_members.cc re PR libstdc++/7216 (basic_iostream::traits_type is ambiguous issue) 2002-07-26 01:49:36 +00:00
ostringstream.cc re PR libstdc++/7216 (basic_iostream::traits_type is ambiguous issue) 2002-07-26 01:49:36 +00:00
standard_manipulators.cc
streambuf_members.cc re PR libstdc++/9318 (i/ostream::operator>>/<<(streambuf*) broken) 2003-02-11 09:59:19 +00:00
streambuf.cc Renames, namespaces for testsuite utilities. 2003-01-14 04:56:56 +00:00
stringbuf_members.cc re PR libstdc++/7216 (basic_iostream::traits_type is ambiguous issue) 2002-07-26 01:49:36 +00:00
stringbuf_virtuals.cc re PR libstdc++/9322 (return value of basic_streambuf<>::getloc affected by locale::global) 2003-01-23 22:53:35 +00:00
stringbuf.cc Renames, namespaces for testsuite utilities. 2003-01-14 04:56:56 +00:00
stringstream_members.cc re PR libstdc++/8466 (basic_stringbuf::str(basic_string const&) modifies its argument) 2002-11-05 23:28:15 +00:00
stringstream.cc Renames, namespaces for testsuite utilities. 2003-01-14 04:56:56 +00:00
wide_stream_objects.cc