array append result type

John Colvin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Oct 6 04:28:15 PDT 2014


string a;
char[] b;
pragma(msg, typeof(a ~ b)); // char[]

why not string?

What are the rules that determine this?


More information about the Digitalmars-d-learn mailing list