Hi,compiling the following program fails with the error message:Error 1 error C2871: 'validators' : a namespace with this name does not exist Error 2 error C2871: 'program_options' : a namespace with this name does not exist #include <boost/program_options.hpp> template<typename T> void f(T t) {} void g() { using namespace boost::program_options; // each of the following lines produces the error: // Error 1 error C2871: 'validators' : a namespace with this name does not exist // Error 2 error C2871: 'program_options' : a namespace with this name does not exist f([]() {} ); auto x = []() {}; } The same source code compiles fine with gcc and I don't see any reason for the error, so I suspect a compiler problem.
Visual Studio/Team Foundation Server/.NET Framework Tooling version
Steps to reproduce
Product Language
Operating System
Operating System Language
Actual results
Expected results