Why implicit conversion of string literal to char[] does not works?

Dicebot public at dicebot.lv
Tue Jul 2 04:29:04 PDT 2013


On Tuesday, 2 July 2013 at 11:26:59 UTC, Michal Minich wrote:
> But ... I'm asking only about implicit conversion of string 
> literal, not arbitrary expressions of string type.

char[] str = "abc".dup;


More information about the Digitalmars-d-announce mailing list