> 24.02.2012 21:34, simendsjo пишет: > > char[] a; > > auto b = cast(void*)a; > > auto c = cast(char[])b; // Error: e2ir: cannot cast b of type > >void* to type char[] [...]
Just out of curiosity, what are you trying to accomplish with this cast? In almost all normal D code, there's no need for any casting at all. T -- The right half of the brain controls the left half of the body. This means that only left-handed people are in their right mind. -- Manoj Srivastava