insert overloads
Declared in <bslstl_multiset.h>
Insert a movable value into this multiset.
multiset<KEY, COMPARATOR, ALLOCATOR>::iterator
insert(BloombergLP::bslmf::MovableRef<value_type> value);
» more...
Insert each element from the values initializer list.
void
insert(std::initializer_list<KEY> values);
» more...
Insert a copy of value into this multiset.
multiset<KEY, COMPARATOR, ALLOCATOR>::iterator
insert(value_type const& value);
» more...
Insert a movable value near hint.
multiset<KEY, COMPARATOR, ALLOCATOR>::iterator
insert(
const_iterator hint,
BloombergLP::bslmf::MovableRef<value_type> value);
» more...
Insert a copy of value near hint.
multiset<KEY, COMPARATOR, ALLOCATOR>::iterator
insert(
const_iterator hint,
value_type const& value);
» more...
Insert each element in the range [first, last)].
template<class INPUT_ITERATOR>
void
insert(
INPUT_ITERATOR first,
INPUT_ITERATOR last);
» more...
iterator referring to the newly inserted element
| 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 |