This is the mail archive of the mailing list for the libstdc++ project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[v3] Move locale cache to 3.3. take 2

Here is the patch again, this time with the ios_base
pword and iword bug separated out, and resynced to
the top of the 3.3 branch.

2003-03-02  Jerry Quinn  <jlquinn at optonline dot net>

	* include/bits/basic_ios.h:  Update copyright.
	(_M_cache_locale): New.
	(_M_cache_facets): Deprecate.
	* include/bits/basic_ios.tcc (basic_ios::copyfmt): 
Set up locale
	(basic_ios::imbue,basic_ios::init): Use _M_cache_locale.
	(basic_ios::_M_cache_locale): New.
	(basic_ios::_M_cache_facets): Deprecate.
	* include/bits/ios_base.h (__locale_cache_base): Declare.
	(ios_base::_M_cache): Define.
	* include/bits/locale_facets.h
(__locale_cache_base,__locale_cache<_CharT>):  New
	* include/bits/locale_facets.tcc
(num_put::_M_convert_int): Use locale
	cache literal string, grouping flag, thousands separator.
	(num_out::_M_convert_float): Use locale cache
grouping flag, decimal
        point, thousands separator.
	* src/
__locale_cache<wchar_t>): New.

Attachment: localecache3.3.patch
Description: Binary data

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]