In addition to the expressions defined in Sorted Associative Container and Multiple 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].
X
Range constructor with compare
X(i, j, c)
X a(i, j, c);
i and j are Input Iterators whose value type is convertible to T [1]. c is an object of type key_compare.
X
Insert with hint
a.insert(p, t)
iterator
Insert range
a.insert(i, j)
i and j are Input Iterators whose value type is convertible to X::value_type. [1]
void