Insert an element with key and the move‐insertable value.
Synopsis
Declared in <bdlcc_stripedunorderedcontainerimpl.h>
void
insertAlways(
KEY const& key,
bslmf::MovableRef<VALUE> value);
Description
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.
Parameters
Name |
Description |
key |
key of the element to insert |
value |
move‐insertable value of the element to insert |
Created with MrDocs