c 11 new features include: 1. Use auto to add any two numbers; 2. nullptr null pointer; 3. for container traversal; 4. lambda expression; 5. override and final; 6. rvalue reference; 7. move constructor; 8. container initialization.
C 11 new features:
1. auto
2. nullptr
3. for
4. Lambda expression
5. override, final
6. Rvalue reference
7. Move constructor
8. Container initialization
(1)auto
Use auto to add any two numbers
(2 )nullptr null pointer
(3)for container traversal
The above is the detailed content of What are the new features of c++11. For more information, please follow other related articles on the PHP Chinese website!