Template Struct abstract_engine¶
Defined in File cache.h
Struct Documentation¶
-
template<typename
KeyT, typenameValueT= void>
structudho::cache::abstract_engine¶ Public Types
-
typedef abstract_engine<KeyT, ValueT>
self_type¶
Public Functions
-
std::size_t
size() const = 0¶
-
void
create(const key_type &key, const content_type &content) = 0¶
-
content_type
retrieve(const key_type &key) const = 0¶
-
bool
update(const key_type &key, const content_type &content) = 0¶
-
template<typename
U= value_type>
std::enable_if<!std::is_same<U, void>::value>::typeinsert(const key_type &key, const U &value)¶
-
template<typename
U= value_type>
std::enable_if<std::is_same<U, void>::value>::typeinsert(const key_type &key)¶
-
template<typename
U= value_type>
std::enable_if<!std::is_same<U, void>::value, bool>::typeupdate(const key_type &key, const U &value)¶
-
typedef abstract_engine<KeyT, ValueT>