In other words, it's just alias name. And this is C++ 11 standard.
Member type | Definition |
---|---|
key_type | Key |
mapped_type | T |
value_type | std::pair<const Key, T> |
value_type = pair<const key_type, mapped_type>
https://en.cppreference.com/w/cpp/container/map
https://stackoverflow.com/questions/31359960/what-is-mapped-type-and-key-type
https://blog.scloudyy.com/posts/4c435fff/