On 10 Oct 1999, Lars Gullik Bjønnes wrote:

> Allan Rae <[EMAIL PROTECTED]> writes:
> 
> | the new strand yet but I already have some doubts about the recent removal
> | of one of those tests.
> 
> That test was completely bogus, since it demanded that a std::string
> cannont contain '\0', so the test had to go.

Okay so we have a situation where different implementations of std::string
may return different sizes.  I haven't got an STL reference handy but
isn't there a string member that returns the length excluding any null
characters?  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.  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.

Allan. (ARRae)

Reply via email to