Skip to content

Glossary: System Design Beyond the Basics in C++

std::pair

Also written: pair

A C++ type holding two values that compares by its first item first. It can be a `std::map` key but has no hash for `unordered_map`.

Where the book teaches it

Related terms

Grid cell