Insert an element with key and the move-insertable value.
Declared in <bdlcc_stripedunorderedmultimap.h>
void
insert(
KEY const& key,
bslmf::MovableRef<VALUE> value);
The value object is left in a valid but unspecified state. If value is allocator-enabled and allocator() != value.allocator() this operation may cost as much as a copy. Note that other elements having the same key may exist in this hash map.
| Name | Description |
|---|---|
| key | key of the element to insert |
| value | move-insertable value of the element to insert |