Struct Context::CachedVersion¶
Defined in File context.hpp
Nested Relationships¶
This struct is a nested type of Class Context.
Struct Documentation¶
-
struct CachedVersion¶
the cached version(), 0 while stale; atomic because version() may be called on a context that threads share (e.g. the process-wide default), copyable so that Context stays copyable
Public Functions
-
CachedVersion() = default¶
-
inline CachedVersion(const CachedVersion &other)¶
-
inline CachedVersion &operator=(const CachedVersion &other)¶
Public Members
-
std::atomic<std::uint64_t> value = {0}¶
-
CachedVersion() = default¶