tempoch-cpp 0.5.3
Header-only C++ wrapper for tempoch
Loading...
Searching...
No Matches
ut1.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "base.hpp"
4
5namespace tempoch {
6
7namespace scale {
8struct UT1 {};
9} // namespace scale
10
11template <> struct is_scale<scale::UT1> : std::true_type {};
12
13template <> struct ScaleTraits<scale::UT1> {
14 static constexpr tempoch_scale_tag_t ffi_tag = TEMPOCH_SCALE_TAG_T_UT1;
15 static constexpr const char *name() { return "UT1"; }
16};
17
18} // namespace tempoch
constexpr tempoch_scale_tag_t scale_tag_v
static constexpr const char * name()
Definition ut1.hpp:15