Replacing native VS 2010 (VC10) tr1 libraries with Boost.TR1
I have been using VS 2005 (VC8) with Boost.TR1 in the std::tr1 namespace by setting the Include Directories of VS to prioritize the boost tr1 headers as described here . Now I am moving over to VS 2010 (VC10) and I seem to be getting compilation errors using the same include method. The Include Directories are set to: [boost-root]\boost\tr1\tr1 [boost-root] VC standard include directories Sample code: #include <functional> #include <iostream> int main(int argc, char ** argv) { std::cout << std::tr1::bind(std::minus<int>(), 5, std::tr1::placeholders::_1)(5) << std::endl; return 0; } Build