std::map initializer list syntax ?

 C++11 supports the initialization of most containers by the simple syntax as follows:html std::set<int> = {3,4,6,34,2,6,78,8,5,0}; std::list<int> = {7,3,5,6,3,4,6,8};  map also has a constructor th
相關文章
相關標籤/搜索