CatapultServer
v0.5.0.1 (Elephant)
|
A mixin for adding basic insert and remove support to a cache. More...
Public Member Functions | |
BasicInsertRemoveMixin (TSet &set) | |
Creates a mixin around set. More... | |
void | insert (const ValueType &value) |
Inserts value into the cache. More... | |
void | remove (const KeyType &key) |
Removes the value identified by key from the cache. More... | |
Private Types | |
using | KeyType = typename TCacheDescriptor::KeyType |
using | ValueType = typename TCacheDescriptor::ValueType |
Private Attributes | |
TSet & | m_set |
A mixin for adding basic insert and remove support to a cache.
|
private |
|
private |
|
inlineexplicit |
Creates a mixin around set.
|
inline |
Inserts value into the cache.
|
inline |
Removes the value identified by key from the cache.
|
private |