3 ms·
C++0x has type inference via the "auto" keyword: http://en.wikipedia.org/wiki/C%2B%2B0x#Type_inference http://en.wikipedia.org/wiki/C%2B%2B0x#Type_inference It
by chad_walters 15y ago
C++0x has type inference via the "auto" keyword: http://en.wikipedia.org/wiki/C%2B%2B0x#Type_inference http://en.wikipedia.org/wiki/C%2B%2B0x#Type_inference
It is available in compilers today -- for example, Visual C++ 2010 supports "auto".