"downs" <default_357-l...@yahoo.de> wrote in message 
news:hj1m0r$1k3...@digitalmars.com...
> Justin Johansson wrote:
>> Happy New Year 2010 Everybody.
>>
>> Having resumed C++ nationality for the last few months, I kind of miss 
>> D's auto keyword.
>>
>
> If you're on gcc or a compiler that allows the typeof extension:
>
> #define DECL(A, B) typeof(B) A = B
>
> :)

Heh, I've done something similar in generic D code :) 


Reply via email to