loadLibrary string
Adam D. Ruppe
destructionator at gmail.com
Sat Jun 1 13:26:17 PDT 2013
On Saturday, 1 June 2013 at 20:23:23 UTC, Luís Marques wrote:
> So is having an "in char[]" the same as having an
> immutable(char)[] / string?
Almost. in basically means const, so it can take strings or
char[].
void foo(string s);
void foo2(in char s);
char[] a;
string b;
foo(a); // not allowed
foo(b); // allowed
foo2(a); // allowed
foo2(b); // also allowed
More information about the Digitalmars-d
mailing list