Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
192 views
in Technique[技术] by (71.8m points)

c++ - Visual Studio 2008 with c++11

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

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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++)

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...