Stroika Library 3.0d24
 
Loading...
Searching...
No Matches
Stroika::Foundation::Cache::IValue Concept Reference

Any copyable type can use used as the value, or the special sentinal type - ValuelessSentinalType, used to indicate we are just caching presence/absense of the KEY in the cache (and its expiration date). More...

#include <Common.h>

Concept definition

template<typename T>
concept Stroika::Foundation::Cache::IValue = same_as<T, ValuelessSentinalType> or copyable<T>
Any copyable type can use used as the value, or the special sentinal type - ValuelessSentinalType,...

Detailed Description

Any copyable type can use used as the value, or the special sentinal type - ValuelessSentinalType, used to indicate we are just caching presence/absense of the KEY in the cache (and its expiration date).

Definition at line 54 of file Foundation/Cache/Common.h.