Another testsuite patch and a bug in string.find

Branko Branko
Tue Jun 13 23:24:00 GMT 2000


brent verner wrote:
> Question: can std::string _contain_ a '\000'? If so, quit reading,
> cause I'm assuming '\000' is _seriously_ special :)

It can. There's nothing special about '\0' as far as std::string is
concerned (it's not used as a terminator).

    Brane

-- 
Branko Čibej                 <branko.cibej@hermes.si>
HERMES SoftLab, Litijska 51, 1000 Ljubljana, Slovenia
voice: (+386 1) 586 53 49     fax: (+386 1) 586 52 70


More information about the Libstdc++ mailing list