Cannot cast void* to arrays..?

simendsjo simendsjo at gmail.com
Fri Feb 24 11:34:19 PST 2012


     char[] a;
     auto b = cast(void*)a;
     auto c = cast(char[])b; // Error: e2ir: cannot cast b of type void* to  
type char[]


More information about the Digitalmars-d-learn mailing list