CCF
Loading...
Searching...
No Matches
version_v.h
Go to the documentation of this file.
1// Copyright (c) Microsoft Corporation. All rights reserved.
2// Licensed under the Apache 2.0 License.
3#pragma once
4
5namespace ccf::kv
6{
7 using Version = uint64_t;
8
9 template <typename V>
10 struct VersionV
11 {
15
17 version(std::numeric_limits<decltype(version)>::min()),
18 read_version(std::numeric_limits<decltype(read_version)>::min())
19 {}
20
21 VersionV(Version ver, Version read_ver, V val) :
22 version(ver),
23 read_version(read_ver),
24 value(val)
25 {}
26 };
27}
Definition app_interface.h:19
uint64_t Version
Definition version.h:8
STL namespace.
Definition version_v.h:11
V value
Definition version_v.h:14
VersionV(Version ver, Version read_ver, V val)
Definition version_v.h:21
Version version
Definition version_v.h:12
Version read_version
Definition version_v.h:13
VersionV()
Definition version_v.h:16