23.5 Maps (cont.)
Takes three template arguments:
template <typename K, typename V, typename CMP = less<K> > class map { . . . };
K
- key type
V
- value type
CMP
- comparison for keys, less than by default
operator<
must be defined on the key type, or provide a function object
prev
|
top
|
next