This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
Re: string's operator == fails for empty string
- To: Samuel dot Krempp at crans dot ens-cachan dot fr (Samuel Krempp)
- Subject: Re: string's operator == fails for empty string
- From: Gabriel Dos Reis <Gabriel dot Dos-Reis at cmla dot ens-cachan dot fr>
- Date: 04 Nov 2000 13:55:40 +0100
- Cc: libstdc++ at sources dot redhat dot com
- Organization: CMLA, ENS Cachan -- CNRS UMR 8536 (France)
- References: <20001104072140.A12281@marvin.crans.ens-cachan.fr>
Samuel.Krempp@crans.ens-cachan.fr (Samuel Krempp) writes:
| I noticed that the empty string "" is found equal to any string, when using libstdc++-v2.
| When using v3 the behaviour is normal.
Samy,
Thanks for your report.
We're are planning to make V3 the default, at the end of the next
week. So, hopefully you won't be annoyed by V2 doing silly things
with your strings :-) But I won't mind to apply a patch against V2 to
make it work properly.
Best,
-- Gaby