[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:01:45 PDT 2012


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



--- Comment #14 from Vladimir Panteleev <thecybershadow at gmail.com> 2012-08-15 14:01:42 PDT ---
First of all, you are conflating ignorance between the two string types with my
arguments. Users who are aware that D has its own way of handling strings are
still open to making frustrating mistakes.

Second, getting unexpected output is not a good way to teach people about this.
Hence my earlier proposal to make writeln/format REJECT char pointer types, on
the basis that the user's intention is ambiguous (I don't think so personally,
but obviously that's just my opinion).

-- 
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