Base type for version types.
More...
#include <zk/types.hpp>
|
static constexpr TReal | invalid () |
| An invalid version specifier. More...
|
|
static constexpr TReal | any () |
| When specified in an operation, this version specifier will always pass. More...
|
|
template<typename TReal>
struct zk::basic_version< TReal >
Base type for version types.
These are distinct so we can emit a compilation error on attempts to use the incorrect version type (for example, client::set_acl does a check on acl_version instead of the standard version).
- See also
- version
-
acl_version
-
child_version
Definition at line 140 of file types.hpp.
When specified in an operation, this version specifier will always pass.
It is the equivalent to not performing a version check.
Definition at line 150 of file types.hpp.
An invalid version specifier.
This will never be returned by the database and will always be rejected in commit operations. This is a good value to use as a placeholder when you are searching for the proper version.
Definition at line 145 of file types.hpp.
The documentation for this struct was generated from the following file: