std.string.toString(char*) little nuisance
Tom
tom at nospam.com
Mon Mar 12 17:25:54 PDT 2007
A question,
shouldn't be documented on the 'std.string.toString(char*)', that the
d-string returned shares the same buffer as the input c-string?
I've spent some (too much) time debugging to find out why the heck all
my strings were messing up... now I know.
Mentioning this on the docs could have been of so much help, it's not
that obvious!
Regards,
--
Tom;
More information about the Digitalmars-d-bugs
mailing list