insert overloads

Synopses

Declared in <bslstl_multiset.h>

Insert a movable value into this multiset.

Insert each element from the values initializer list.

void
insert(std::initializer_list<KEY> values);

Insert a copy of value into this multiset.

Insert a movable value near hint.

Insert a copy of value near hint.

Insert each element in the range [first, last)].

template<class INPUT_ITERATOR>
void
insert(
    INPUT_ITERATOR first,
    INPUT_ITERATOR last);

Return Value

iterator referring to the newly inserted element

Parameters

Name

Description

value

element to move‐insert

values

initializer list of elements to insert

hint

iterator hint for the insertion position

first

beginning of the input range

last

end of the input range

Created with MrDocs