In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
from 0_0_21032225_23133.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h: In instantiation of '_Funct std::for_each(_IIter, _IIter, _Funct) [with _IIter = __gnu_cxx::__normal_iterator<int*, std::vector<int> >; _Funct = main()::<lambda(auto:1&)>]':
0_0_21032225_23133.cpp:27:4: required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:3755:14: error: invalid use of 'auto'
__f(*__first);
^
|