insert overloads
Synopses
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);
Same as the preceding overload, moving key into the cache.
void
insert(
bslmf::MovableRef<KEY> key,
VALUE const& value);
Same as the preceding overload, moving key into the cache.
void
insert(
bslmf::MovableRef<KEY> key,
ValuePtrType const& valuePtr);
Same as the preceding overload, moving value into the cache.
void
insert(
KEY const& key,
bslmf::MovableRef<VALUE> value);
Insert the specified key and its associated value into this cache.
void
insert(
KEY const& key,
VALUE const& value);
Insert the specified key and its associated valuePtr into this cache.
void
insert(
KEY const& key,
ValuePtrType const& valuePtr);
Parameters
Name |
Description |
key |
key to insert |
value |
value associated with |
valuePtr |
shared pointer to the value associated with |
Created with MrDocs