Skip to content

Glossary: Algorithms Beyond the Basics in C++

std::set

Also written: set

An ordered collection of unique items that keeps them sorted and supports fast lookup with `contains`. It can hold things like the closed street corners in a grid.

Where the book teaches it

Related terms

std::map