Glossary: Data Structures and Algorithms in C++
std::pair
Also written: pair
Two items kept together, compared first then second. It has no std::hash, so it can be a key of a std::map but not of an unordered_map.
Glossary: Data Structures and Algorithms in C++
Also written: pair
Two items kept together, compared first then second. It has no std::hash, so it can be a key of a std::map but not of an unordered_map.