GCC 4.4
GCC 4.4 kommt bald, und hat schon einige Unterstützung für den nächsten C++ Standard, erfreulicherweise auch Proposal 1984: deducing the type of variable from its initializer expression. Damit ist folgendes möglich:
for (auto it = x.begin(); it != x.end(); ++it) ...
(Apropos for loop, leider noch keine Unterstützung für den range based for loop.)
Leave a comment
You must be connected to write a comment.

