The two primary associative-container types are map and set.The library provides eight associative containers, listed in Table 11.1.
11.1 USING AN ASSOCIATIVE CONTAINER
The map type is often referred to as an associative array.
A set is most useful when we simply want to know whether a value is present.
Using a map:
#include