diff options
author | Paolo Carlini <pcarlini@suse.de> | 2005-02-15 23:29:52 +0000 |
---|---|---|
committer | Paolo Carlini <pcarlini@suse.de> | 2005-02-15 23:29:52 +0000 |
commit | 5b5fcc5945558d32c619dd3047ae0ee16a6edd2f (patch) | |
tree | 36ecbbfafa6758d85faee24364c6147bffcc899a /gcc/lambda.h | |
parent | 1f43e5c1d5f138ff71737767a5c93d568d5edeeb (diff) |
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.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@95082 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lambda.h')
0 files changed, 0 insertions, 0 deletions