[Issue 8384] std.conv.to should allow conversion between any pair of string/wstring/dstring/char*/wchar*/dchar*
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Aug 15 14:06:50 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8384
--- Comment #15 from Jonathan M Davis <jmdavisProg at gmx.com> 2012-08-15 14:06:49 PDT ---
I'm saying that we shouldn't treat char* differently from int* just because
some newbies expect char* to act like a string. And if you know D, then you
know that char* is _not_ a string, and I don't see how you could expect it to
be treated as one. Either making char* act like a string or disallowing
printing it would make it act differently from other pointer types just to
appease the folks who mistakingly think that char* is a string.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list