This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/11740] ctype<wchar_t>::do_is(mask, wchar_t) doesn't handle multiple bits in mask.
- From: "paolo at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Oct 2003 18:56:39 -0000
- Subject: [Bug libstdc++/11740] ctype<wchar_t>::do_is(mask, wchar_t) doesn't handle multiple bits in mask.
- References: <20030731090421.11740.peturr02@ru.is>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11740
------- Additional Comments From paolo at gcc dot gnu dot org 2003-10-06 18:56 -------
Ok, thanks, now I see, please tell me if I'm wrong...
This is the rationale: a character *cannot* belong simultaneously to two different
values of the ctype_base enum: for instance cannot be, at the same time, uppercase
AND lowercase. That's why do_is must be intended to mean "any".