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

Name

Description

key

key to insert

valuePtr

shared pointer to the value associated with key

Created with MrDocs