map <Key, T, Compare, Allocator> gives fast access to stored values of type T that are indexed by unique keys of type Key
. The default operation for key comparison is the < operator.
If an element with the key x exists in the map, then a reference to its associated value is returned. Otherwise the pair x,T() is inserted into the map and a reference to the default object T() is returned.