key, valueの連想配列class
struct Person { public: Person(const string &name, int height) : m_name(name) , m_height(height) {} public: string m_name; int m_height; } ... map<Person, int> mp; Person p("aaa", 180); mp[p] = 123;
ソフトウェアエンジニアの技術ブログ:Software engineer tech blog
随机应变 ABCD: Always Be Coding and … : хороший