Allan Rae <[EMAIL PROTECTED]> writes:
| Okay so we have a situation where different implementations of std::string
| may return different sizes.
The ones that don't allow '\0' chars is bogus. The ones that only
count until the first '\0' is met is bogus.
| I haven't got an STL reference handy but
| isn't there a string member that returns the length excluding any null
| characters?
No.
| Besides, the point of the test is to make sure that the
| string length is correct in our implementation of lyxstring not to check
| the STL supplied strings.
the test might be ok after methods that work in C-type strings, but
not as a general inveriant.
| I admit I still haven't gotten around to
| checking out the new strand so I'm still assuming we have our own string
| class. It's likely to be the end of the month before I have much time for
| LyX again. I'm flatout keeping up with the mailing list.
We are waiting :-)
Lgb