Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
保证按顺序遍历地图(根据定义的比较函数)。
例如, hash_map 怎么样,在从begin()to迭代时是否有保证的顺序end()?
begin()
end()
否,hash_map或者标准等效项std::unordered_map是无序容器。
hash_map
std::unordered_map