setValueFirst overloads
Synopses
Declared in <bdlcc_stripedunorderedcontainerimpl.h>
Set the first element with key to the move‐insertable value.
std::size_t
setValueFirst(
KEY const& key,
bslmf::MovableRef<VALUE> value);
Set the first element with key to value, inserting if absent.
std::size_t
setValueFirst(
KEY const& key,
VALUE const& value);
Return Value
-
number of elements found having
key -
number of elements found with
key
Parameters
Name |
Description |
key |
key of the element to set or insert |
value |
move‐insertable value to assign or insert |
Created with MrDocs