阅读背景:

C++中std::map的使用

来源:互联网 

std::map are associative containers that store elements formed by a combination of a key value and a mapped value, following a specific order. In a map, the key values are generally used to sort and uniquely identify the elements, while the mapped values store the content associated to this key. The types of key and mapped value may differ, and are grouped together. In fact, the STL's map class allows you to store data by any type of key instead of simply by a numerical key.std::map are associative containers that store




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: