Glossary: Algorithms Beyond the Basics in C++
std::pair
Also written: pair
A type holding two values, accessed as `.first` and `.second`. Pairs compare by first, then second, so they sort and work in heaps.
Glossary: Algorithms Beyond the Basics in C++
Also written: pair
A type holding two values, accessed as `.first` and `.second`. Pairs compare by first, then second, so they sort and work in heaps.