https://d.puremagic.com/issues/show_bug.cgi?id=11837
--- Comment #18 from Andrei Alexandrescu <and...@erdani.com> 2014-03-09 10:03:44 PDT --- A few more thoughts. Conversion of string literals to const(char)* is irregular and inconsistent. No other array literals convert that way, and variables, enums etc also don't convert that way. It's a kludge - albeit a clever one - that we accept as convenience for the reality we must occasionally interface with C strings and it's nice to not need to add the .ptr. Now in invoking language consistency "post-kludge" we are in fact being consistent with the kludge more than the language rules that it disobeys. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------