C++ (7) - new features in 11/14

Summarize the content of the new features of C++11/14 encountered, and add a new one when you encounter it.

1. auto variable

2、for(auto a: {1,2,3,4,5,6})

3. In STL:

New container types array, forward_list, Unordered_Set/Multiset, Unordered Map/Multimap

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324473021&siteId=291194637