user1493393
user1493393

Reputation: 51

how to switch Visual-Studio 2010 into c++11

I'm new in programming in c++ and I want to try c++11 new features.

So what am I asking for is how can I switch visual-studio 2010 to be able to compile c++11 sources?

Upvotes: 5

Views: 5851

Answers (2)

Nicol Bolas
Nicol Bolas

Reputation: 474436

There is no switch; VC10 (and VC12) will always compile code that conforms to the parts of C++11 that they support. Which of course is not all of it.

Upvotes: 4

Gregory Pakosz
Gregory Pakosz

Reputation: 70254

You can refer to this table: C++0x Core Language Features In VC10: The Table. Just use those in your code.

Upvotes: 4

Related Questions