insert overloads
Declared in <bdlcc_cache.h>
Same as the preceding overload, moving both key and value.
void
insert(
bslmf::MovableRef<KEY> key,
bslmf::MovableRef<VALUE> value);
» more...
Same as the preceding overload, moving key into the cache.
void
insert(
bslmf::MovableRef<KEY> key,
VALUE const& value);
» more...
Same as the preceding overload, moving key into the cache.
void
insert(
bslmf::MovableRef<KEY> key,
ValuePtrType const& valuePtr);
» more...
Same as the preceding overload, moving value into the cache.
void
insert(
KEY const& key,
bslmf::MovableRef<VALUE> value);
» more...
Insert the specified key and its associated value into this cache.
void
insert(
KEY const& key,
VALUE const& value);
» more...
Insert the specified key and its associated valuePtr into this cache.
void
insert(
KEY const& key,
ValuePtrType const& valuePtr);
» more...
| Name | Description |
|---|---|
| key | key to insert |
| value | value associated with key |
| valuePtr | shared pointer to the value associated with key |