20#ifndef RIPPLE_PROTOCOL_APIVERSION_H_INCLUDED
21#define RIPPLE_PROTOCOL_APIVERSION_H_INCLUDED
52template <
unsigned int Version>
77template <
unsigned minVer,
unsigned maxVer,
typename Fn,
typename... Args>
90 constexpr auto size = maxVer + 1 - minVer;
99template <
typename Fn,
typename... Args>
static constexpr auto apiMaximumSupportedVersion
static constexpr std::integral_constant< unsigned, Version > apiVersion
static constexpr auto apiMaximumValidVersion
static constexpr auto apiCommandLineVersion
static constexpr auto apiBetaVersion
static constexpr auto apiVersionIfUnspecified
static constexpr auto apiInvalidVersion
static constexpr auto apiMinimumSupportedVersion
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
void forAllApiVersions(Fn const &fn, Args &&... args)
void forApiVersions(Fn const &fn, Args &&... args)