Passing a sting as 'in char[]' yields "immutable is not callable using argument types ()"
NX via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Jun 8 08:19:54 PDT 2016
String is an alias for 'immutable(char)[]'.
I assume you meant const(char)[] instead of 'const string'?
P.S. always use parentheses.
More information about the Digitalmars-d-learn
mailing list