BloombergLP::bdlcc::Cache::insert

Same as the preceding overload, moving key into the cache.

Synopsis

Declared in <bdlcc_cache.h>

void
insert(
    bslmf::MovableRef<KEY> key,
    ValuePtrType const& valuePtr);

Parameters

NameDescription
keykey to insert
valuePtrshared pointer to the value associated with key