The underlying data structure of the associative container: unordered_map/set is based on the hash table, and the insertion order is not guaranteed; map/set is based on the red-black tree and automatically sorted according to the key

NoSuchKey

Guess you like

Origin blog.csdn.net/qq_33726635/article/details/106553317