Re: The String class for 0.60 does not null terminatestrings.

"Gary Setter" <[email protected]>
Newsgroups gmane.comp.gnu.aspell.devel
Message-ID <002601c4a4d5$2ef64fa0$0a144a0c@pavilion>
<snip>
> I repeat:  The string is only null termined when the c_str() or
> ensure_null_end() is called.
>
Look at your String class. You have several public methods that
return begin_ without null termination.

No one I know maintains none null terminated lists this way. It
is too easy to forget and have a problem. Null termination is not
costly. You might make your code run faster by not appending
characters one at a time to a string.

Please, please reconsider,
Gary
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.