Skip to content

Glossary: C++ Basics

std::map

Also written: map, unordered_map, std::unordered_map

A container of key and value pairs found by key, such as menu codes and prices. It keeps keys sorted, and `std::unordered_map` is similar but unsorted.

Where the book teaches it

Related terms

IteratorStructured bindingstd::vector