This is the mail archive of the libstdc++@sources.redhat.com 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]

Re: string's operator == fails for empty string


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

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