Hi, The code below does not compile.std::vector<int> ints;std::map<int, int> m;std::for_each(ints.begin(), ints.end(), [&m](int x){ ++m[x];});It compiles in g++4.6.1. Is this a bug in VC11 ?-Jagannath.
Visual Studio/Team Foundation Server/.NET Framework Tooling version
Steps to reproduce
Product Language
Operating System
Operating System Language
Actual results
Expected results