|
|
back to boardCommon BoardTo admins: auto in C++ Posted by ASK 6 Nov 2010 16:48 The new C++ standard allows to automatically deduce types, that is instead of "for(vector<int>::const_interator i = v.begin()" one can simply write "for(auto i = v.begin()". The good thing is that the new compiler supports this feature, the bad thing is that /Zc:auto is not added to the command line. Please, add /Zc:auto to the C++ command line. bump (-) Posted by ASK 10 Nov 2010 21:37 |
|
|