I don't like auto. (the auto-typing I mean)
Lionello Lunesu
lio at remove.lunesu.com
Mon Mar 13 04:07:39 PST 2006
> (And by the way, I think it's dumb that it's called auto and also think it
> should be called var.)
It's NOT "called auto". "auto" is for RAII, ie. destruction on scope exit.
"auto" is just one way for the compiler to recognize a declaration. There
are other keywords that trigger this (like "static"). Check my post in the
"auto -> auto & var" thread, or do a search and find Walter's response to
this issue.
L.
More information about the Digitalmars-d
mailing list