[Issue 1965] std.string.toStringz checks too stringent

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 17 09:01:15 PDT 2008


http://d.puremagic.com/issues/show_bug.cgi?id=1965





------- Comment #2 from fawzi at gmx.ch  2008-04-17 11:01 -------
(In reply to comment #1)
> It's a feature one day and it's a nuisance the next.
> 
> Perhaps something LIKE this should be implemented:
> 
> char* toStringz(char[] s, bool noassert_on_embedded_nulls=false);

I LIKE this idea :)


-- 



More information about the D.gnu mailing list