std::map 与 Key-Value 模型 | STL

本章覆盖:`std::map<Key, T>`;pair-like element;ordered key;unique key;find;insert;emplace;erase;range query;logarithmic complexity;sorted iteration;configuration / index / interval-like business scenarios。

本章知识点

  • std::map<Key, T>
  • pair-like element
  • ordered key
  • unique key
  • find
  • insert
  • emplace
  • erase
  • range query
  • logarithmic complexity
  • sorted iteration
  • configuration / index / interval-like business scenarios