auto -> auto & var
Bruno Medeiros
daiphoenixNO at SPAMlycos.com
Sun Mar 12 02:20:19 PST 2006
Kramer wrote:
> I keep tripping myself over the double meaning of auto. I know it shouldn't be
> that difficult to remember that auto means type inference and also stack
> allocation/RAII, but does it have to be that way?
>
> I don't know if anyone else agrees, but I wouldn't mind seeing auto's uses
> properly split:
>
> var -> type inference
> auto -> RAII
>
Yep, as I've said before, I'm also in favor of this change. (unless
someone can come with an even better keyword for var)
--
Bruno Medeiros - CS/E student
http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D
More information about the Digitalmars-d
mailing list