C++ Language/Std/Stl/CollectionClasses/SortedCollections/Map/Indexing

A map can be indexed-by-key (a lookup operation). Use either the C-array-operator, the  function, or the   function. These differ in how they deal with a non-existent key.

Additional information about map indexing (includes interactive examples)