A bug in my code

Manfred_Nowak svv1999 at hotmail.com
Mon Sep 8 03:14:06 PDT 2008


Sergey Gromov wrote:

> You can always use
>   return cast(T[])mem;

I doubt this, because that `cast' might not be valid for all types `T'.

-manfred

-- 
If life is going to exist in this Universe, then the one thing it 
cannot afford to have is a sense of proportion. (Douglas Adams)



More information about the Digitalmars-d-learn mailing list