In addition to the expressions defined in Associative Container, the following expressions must be valid.Valid expressions
Name
Expression
Type requirements
Return type
Range constructor
X(i, j)
X a(i, j);
i and j are Input Iterators whose value type is convertible to T [1]
Insert element
a.insert(t)
pair
Insert range
a.insert(i, j)
i and j are Input Iterators whose value type is convertible to X::value_type. [1]
void
Count
a.count(k)
size_type