?
=?ISO-8859-1?Q?Erik_Wikstr=F6m?=
The "auto" keyword is not yet part of the C++ language. The document
Sylvester referred to is related to a proposal for the next revision
of the C++ standard. So, currently, it should strictly be treated as
a compiler-specific language extension. Therefore, to understand what
"auto" does in your case, you need to refer to your compiler's
documentation.
Please quote the relevant sections you are replying to, since it will
make your post a lot easier to understand.
The keyword "auto" has been part of the C++ language for some time
(probably since the beginning) and it specifies that a variable shall
have automatic storage duration. However it is hardly ever used since
automatic storage duration is the default so the absence of presence of
it does not affect the semantics of the code.
The document Sylvester referred to describes a new usage of the auto
keyword, and as you pointed out it is not yet a part of the C++ language.
To understand what the code someone (I don't know who) posted does one
would need to know if he was talking about the current version of C++ or
the next, however considering that the current usage of auto is quite
trivial to understand one can assume that it was the semantics in the
next language he was talking about, in which case the working draft of
the new standard (currently document n2284) would probably be the best
source for information.