Insert or update unique keys from the range [first, last)].
Synopsis
Declared in <bdlcc_stripedunorderedcontainerimpl.h>
template<class RANDOM_ITER>
std::size_t
insertBulkUnique(
RANDOM_ITER first,
RANDOM_ITER last);
Description
The iterators provide read access to a sequence of bsl::pair<KEY, VALUE> objects. If an element having one of the keys already exists in this hash map, set the value attribute to the corresponding value from data. All insertions are done by the calling thread and the order of insertion is not specified. Return the number of elements inserted. The behavior is undefined unless first <= last.
Return Value
number of elements inserted
Parameters
Name |
Description |
first |
beginning of the key‐value range |
last |
end of the key‐value range |
Created with MrDocs