Visual Studio 2008 with c++11

c++, c++11, visual-c++, visual-studio-2008

Solution

In short words, it's impossible. VS2008 has no C++11 support and replacing the libraries would lead to chaos.

In long words, you maybe could do something:

- Use another compiler: C++ compiler support (Updated Link)

- You could upgrade your visual studio, but even MSVC12 (visual studio 2013) is not supporting all of C++11 standard.

- You could embed the Intel compiler into your visual studio. But also Intel is not fully supporting C++11, nevertheless more than MSVC. Here (Updated link now provides a general description) a small howto embed the Intel compiler.

- Update: clang is now also able to be used with visual studio, see here.

- Update: As Melebius stated in the comments, MSVC19 (VS2015) finally supports most of the C++11 standard... Support For C++11/14/17 Features (Modern C++)

Problem

Can I somehow make Visual C++ 2008 to have C++11 library and use all the good things C++11 standard allows?

Original source