Y
Hacker News
new
|
ask
|
show
|
jobs
by
chad_walters
5484 days ago
C++0x has type inference via the "auto" keyword:
http://en.wikipedia.org/wiki/C%2B%2B0x#Type_inference
It is available in compilers today -- for example, Visual C++ 2010 supports "auto".