Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Switching to C++11

Tags:

People also ask

How do I change from C++ to 11?

Go to Tools Tab. Select Compiler Options.. Go to General tab. Check the checkbox named "Add following commands when calling the compiler", write this statement -std=c++11 , and then press OK.

What is new in cpp11?

The C++11 Standard Library was also revamped with new algorithms, new container classes, atomic operations, type traits, regular expressions, new smart pointers, async() facility, and of course a multithreading library. A complete list of the new core and library features of C++11 is available here.


We are going to start a long lasting project using C++ as the programming language.

I read that C++0x is going to come out in 2011, so they called it C++11.

When C++11 comes out, we will still be developing the project, and would like to know if it is possible to use any features of the new C++ standard now, to able to:

  • code faster than with the old C++ and
  • switch easily when the new standard arrives?