implicit conversions between array and pointer

terranium terranium at yandex.ru
Fri Apr 25 12:48:41 PDT 2008


int* p;
int[] a=[1,2,3];
p=a;

spec says it should compile, but it won't. Where is the bug - in spec or in compiler.



More information about the Digitalmars-d mailing list