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

:)

Reply via email to