A few inconsistentcies left

Tom ihate at spam.com
Thu May 25 08:53:49 PDT 2006


Charlie escribió:

> 2)  auto auto foo = new Class;  The current double meaning of auto won't 
>  allow for both a RAII and type-deduced variable declaration.  I think 
> every other language use's 'var' or similar ( var gets my vote, used in 
> php, javascript, C#-3.0) .  The current error is 'redundant storage 
> class 'auto''.

Yeah, this was discussed ~100 times. I hope it to be fixed soon.

--
Tom;




More information about the Digitalmars-d mailing list