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