MCPcopy Create free account
hub / github.com/KTH-RPL/dufomap / integer_traits_base

Class integer_traits_base

src/toml.hpp:1607–1614  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1605 };
1606 template <typename T>
1607 struct integer_traits_base : integer_limits<T>
1608 {
1609 using native_type = int64_t;
1610 static constexpr bool is_native = std::is_same_v<T, native_type>;
1611 static constexpr bool is_signed = static_cast<T>(-1) < T{}; // for impls not specializing std::is_signed<T>
1612 static constexpr auto type = node_type::integer;
1613 static constexpr bool can_partially_represent_native = true;
1614 };
1615 template <typename T>
1616 struct unsigned_integer_traits : integer_traits_base<T>
1617 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected