c++ - Goal of C's "auto" keyword -


What is the goal of the keyword "auto" in C? It got a new meaning with C ++ 0x, but does it mean that if my port c code ends in the C ++ 0x compiler, then will my code break?

Bjarne Stroustrup is described in about auto :

"Old meaning of auto (" this is a local variable ") is unnecessary and unused. Many committee members have explored some useful uses only through millions of codes - and most of them test suites Or bug was visible. "

So I think that implementing the old meanings of auto New will not be forced by the standard.


Comments