tempoch-cpp 0.5.3
Header-only C++ wrapper for tempoch
Loading...
Searching...
No Matches
formats/base.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "../ffi_core.hpp"
4#include <qtty/qtty.hpp>
5#include <type_traits>
6
7namespace tempoch {
8
9template <typename T> struct is_format : std::false_type {};
10template <typename T> inline constexpr bool is_format_v = is_format<T>::value;
11
12template <typename F> struct FormatTraits;
13template <typename F> inline constexpr tempoch_format_tag_t format_tag_v = FormatTraits<F>::ffi_tag;
14
15} // namespace tempoch
constexpr tempoch_format_tag_t format_tag_v
constexpr bool is_format_v
constexpr tempoch_scale_tag_t scale_tag_v