How to translate this to D: const char *const* someConstPtr;

Adam D. Ruppe via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat May 9 16:24:42 PDT 2015


The second const isn't needed in D, the first one will carry 
through for it too.

const char* in D is equivalent to that C declaration.

const(char)* in D is what const char* in C would be.


More information about the Digitalmars-d-learn mailing list