Copying objects vs. primitive type

Jarrett Billingsley kb3ctd2 at yahoo.com
Sun Jul 1 06:18:59 PDT 2007


"Frits van Bommel" <fvbommel at REMwOVExCAPSs.nl> wrote in message 
news:f682fm$c47$1 at digitalmars.com...
> Jarrett Billingsley wrote:
>>         static if(AutoDup && is(T.dup))
>
> Shouldn't that last bit be is(typeof(T.dup))?

Yes, it probably should :D  I always forget about the typeof, and then the 
compiler whines and I put it in.. 




More information about the Digitalmars-d-learn mailing list