STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
signed_integer_traits< T > Struct Template Reference

#include <toml.hpp>

Inheritance diagram for signed_integer_traits< T >:
[legend]
Collaboration diagram for signed_integer_traits< T >:
[legend]

Public Types

using native_type = int64_t
Public Types inherited from integer_traits_base< T >
using native_type = int64_t

Static Public Attributes

static constexpr bool is_losslessly_convertible_to_native
static constexpr bool can_represent_native
Static Public Attributes inherited from integer_traits_base< T >
static constexpr bool is_native = std::is_same_v<underlying_type<T>, native_type>
static constexpr bool is_signed = static_cast<underlying_type<T>>(-1) < underlying_type<T>{}
static constexpr auto type = node_type::integer
static constexpr bool can_partially_represent_native = true
Static Public Attributes inherited from integer_limits< T >
static constexpr T min = T{ (std::numeric_limits<underlying_type<T>>::min)() }
static constexpr T max = T{ (std::numeric_limits<underlying_type<T>>::max)() }

Detailed Description

template<typename T>
struct signed_integer_traits< T >

Definition at line 1831 of file toml.hpp.

Member Typedef Documentation

◆ native_type

template<typename T>
using signed_integer_traits< T >::native_type = int64_t

Definition at line 1833 of file toml.hpp.

Member Data Documentation

◆ can_represent_native

template<typename T>
bool signed_integer_traits< T >::can_represent_native
staticconstexpr
Initial value:
=
integer_limits<underlying_type<T>>::min <= (-9223372036854775807LL - 1LL)
&& integer_limits<underlying_type<T>>::max >= 9223372036854775807LL
static constexpr T max
Definition toml.hpp:1812
static constexpr T min
Definition toml.hpp:1811
typename underlying_type_< T >::type underlying_type
Definition toml.hpp:1756

Definition at line 1837 of file toml.hpp.

◆ is_losslessly_convertible_to_native

template<typename T>
bool signed_integer_traits< T >::is_losslessly_convertible_to_native
staticconstexpr
Initial value:
=
integer_limits<underlying_type<T>>::min >= (-9223372036854775807LL - 1LL)
&& integer_limits<underlying_type<T>>::max <= 9223372036854775807LL

Definition at line 1834 of file toml.hpp.


The documentation for this struct was generated from the following file:
  • daq-server/diablo_server/lib/include/toml++/toml.hpp