[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
Thu Feb 20 10:21:26 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=8384



--- Comment #23 from Sobirari Muhomori <dfj1esp02 at sneakemail.com> 2014-02-20 10:21:15 PST ---
(In reply to comment #19)
> So, you're suggesting that we remove a useful feature because newbies coming
> from C/C++ keep mistakingly thinking that char* is a string?

char* is the way to represent null-terminated strings and C programmers are not
mistaken in that.

As to the useful feature, it can be done with %p format specifier - that's what
printf does.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list