tempoch-cpp
0.5.5
Header-only C++ wrapper for tempoch
Loading...
Searching...
No Matches
tcb.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
TCB
{};
9
}
// namespace scale
10
11
template
<>
struct
is_scale
<
scale
::TCB> : std::true_type {};
12
13
template
<>
struct
ScaleTraits
<
scale
::TCB> {
14
static
constexpr
tempoch_scale_tag_t
ffi_tag
= TEMPOCH_SCALE_TAG_T_TCB;
15
static
constexpr
const
char
*
name
() {
return
"TCB"
; }
16
};
17
18
}
// namespace tempoch
tempoch::scale
Definition
bdt.hpp:7
tempoch
Definition
civil_time.hpp:15
base.hpp
tempoch::ScaleTraits< scale::TCB >::name
static constexpr const char * name()
Definition
tcb.hpp:15
tempoch::ScaleTraits< scale::TCB >::ffi_tag
static constexpr tempoch_scale_tag_t ffi_tag
Definition
tcb.hpp:14
tempoch::ScaleTraits
Definition
scales/base.hpp:11
tempoch::is_scale
Definition
scales/base.hpp:8
tempoch::scale::TCB
Definition
tcb.hpp:8
include
tempoch
scales
tcb.hpp
Generated by
1.15.0