MCPcopy Create free account
hub / github.com/ceph/ceph / insert

Method insert

src/common/mini_flat_map.h:428–430  ·  view source on GitHub ↗

Inserts an element into the container using the copy operator */

Source from the content-addressed store, hash-verified

426
427 /** Inserts an element into the container using the copy operator */
428 bool insert(const KeyT &k, const ValueT &value) {
429 return emplace(k, value);
430 }
431
432 /** Returns a reference to the value that is mapped to a key equivalent to
433 * key, performing an insertion if such key does not already exist.

Callers 1

populate_bitset_setMethod · 0.45

Calls 1

emplaceFunction · 0.50

Tested by

no test coverage detected