Elements
6.3.1
A C++ base framework for the Euclid Software.
Loading...
Searching...
No Matches
ElementsKernel
ElementsKernel
_impl
Version.tpp
Go to the documentation of this file.
1
21
// IWYU pragma: private, include "ElementsKernel/Version.h"
22
23
#ifndef ELEMENTSKERNEL_ELEMENTSKERNEL_VERSION_IMPL_
24
#error "This file should not be included directly! Use ElementsKernel/Version.h instead"
25
#else
26
27
#include <cstdint>
// for uint_least64_t
28
29
constexpr
std::uint_least64_t
CALC_PROJECT_VERSION
(
const
std::uint_least64_t
maj,
const
std::uint_least64_t
min,
30
const
std::uint_least64_t
pat) {
31
return
(((maj) << 32) + ((min) << 16) + (pat));
32
}
33
34
#endif
// ELEMENTSKERNEL_ELEMENTSKERNEL_VERSION_IMPL_
CALC_PROJECT_VERSION
constexpr std::uint_least64_t CALC_PROJECT_VERSION(const std::uint_least64_t maj, const std::uint_least64_t min, const std::uint_least64_t pat)
Mangle major, minor and patch version number into a single integer.
std::uint_least64_t
Generated by
1.11.0