gcc/libstdc++-v3/testsuite/22_locale
Paolo Carlini 82ce2a94d9 re PR libstdc++/19955 (Second std::ctype<char>::narrow() does not call std::ctype<char>::do_narrow())
2005-02-15  Paolo Carlini  <pcarlini@suse.de>
	    Jon Grimm  <jgrimm2@us.ibm.com>

	PR libstdc++/19955
	* include/bits/locale_facets.h (ctype<char>::_M_narrow_init()):
	Fix the logic setting _M_narrow_ok: first check whether the
	transformation is trivial with a dflt == 0, then deal with the
	special case of zero.
	* testsuite/22_locale/ctype/narrow/char/19955.cc: New.

	* include/bits/locale_facets.h (ctype<char>::_M_widen_init()):
	Tweak consistently to use memcmp; minor formatting fixes.

Co-Authored-By: Jon Grimm <jgrimm2@us.ibm.com>

From-SVN: r95082
2005-02-15 23:29:52 +00:00
..
codecvt
codecvt_byname
collate
collate_byname
ctype re PR libstdc++/19955 (Second std::ctype<char>::narrow() does not call std::ctype<char>::do_narrow()) 2005-02-15 23:29:52 +00:00
ctype_base
ctype_byname
facet
global_templates
locale
messages
messages_byname
money_get
money_put
moneypunct
moneypunct_byname
num_get
num_put
numpunct
numpunct_byname
time_get 1.cc: In the checks use... 2004-11-19 21:48:21 +00:00
time_put 2.cc: Fix typo. 2004-11-27 09:34:06 +00:00