Visual Studio 2008 with c++11

前端 未结 5 979
小蘑菇
小蘑菇 2020-12-10 06:30

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

5条回答
  •  醉酒成梦
    2020-12-10 07:10

    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:

    1. Use another compiler: C++ compiler support (Updated Link)
    2. You could upgrade your visual studio, but even MSVC12 (visual studio 2013) is not supporting all of C++11 standard.
    3. 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.
    4. Update: clang is now also able to be used with visual studio, see here.
    5. 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++)

提交回复
热议问题