CatapultServer
v0.5.0.1 (Elephant)
|
A mixin for adding contains support to a cache. More...
Public Member Functions | |
ContainsMixin (const TSet &set) | |
Creates a mixin around set. More... | |
bool | contains (const KeyType &key) const |
Gets a value indicating whether or not the cache contains an element with key. More... | |
Private Types | |
using | KeyType = typename TCacheDescriptor::KeyType |
Private Attributes | |
const TSet & | m_set |
A mixin for adding contains support to a cache.
|
private |
|
inlineexplicit |
Creates a mixin around set.
|
inline |
Gets a value indicating whether or not the cache contains an element with key.
|
private |