Hydra: Integer.h File Reference (original) (raw)

#include <hydra/detail/Config.h>
#include <type_traits>
#include <limits>
#include <cstdint>
#include <climits>

Go to the source code of this file.

Data Structures
struct hydra::detail::impl::exact_signed_base_helper< Bits >
struct hydra::detail::impl::exact_signed_base_helper< sizeof(signed char) *CHAR_BIT >
struct hydra::detail::impl::exact_unsigned_base_helper< Bits >
struct hydra::detail::impl::exact_unsigned_base_helper< sizeof(unsigned char) *CHAR_BIT >
struct hydra::detail::impl::int_least_helper< Category >
struct hydra::detail::impl::int_least_helper< 1 >
struct hydra::detail::impl::int_least_helper< 2 >
struct hydra::detail::impl::int_least_helper< 3 >
struct hydra::detail::impl::int_least_helper< 4 >
struct hydra::detail::impl::int_least_helper< 5 >
struct hydra::detail::impl::uint_least_helper< Category >
struct hydra::detail::impl::uint_least_helper< 1 >
struct hydra::detail::impl::uint_least_helper< 2 >
struct hydra::detail::impl::uint_least_helper< 3 >
struct hydra::detail::impl::uint_least_helper< 4 >
struct hydra::detail::impl::uint_least_helper< 5 >
struct hydra::detail::int_fast_t< LeastInt >
struct hydra::detail::int_t< Bits >
struct hydra::detail::uint_t< Bits >
Namespaces

hydra::detail::impl::exact_signed_base_helper< sizeof(signed char) *CHAR_BIT >

struct hydra::detail::impl::exact_signed_base_helper< sizeof(signed char) *CHAR_BIT >

template<>

struct hydra::detail::impl::exact_signed_base_helper< sizeof(signed char) *CHAR_BIT >

| Data Fields | | | | ------------------- | ----- | | | typedef signed char | exact | |

hydra::detail::impl::exact_unsigned_base_helper< sizeof(unsigned char) *CHAR_BIT >

struct hydra::detail::impl::exact_unsigned_base_helper< sizeof(unsigned char) *CHAR_BIT >

template<>

struct hydra::detail::impl::exact_unsigned_base_helper< sizeof(unsigned char) *CHAR_BIT >

| Data Fields | | | | ------------------------------------------------------------------------ | ----- | | | typedef unsigned char | exact | |

hydra::detail::impl::int_least_helper

struct hydra::detail::impl::int_least_helper

template

struct hydra::detail::impl::int_least_helper< Category >

hydra::detail::impl::int_least_helper< 1 >

struct hydra::detail::impl::int_least_helper< 1 >

template<>

struct hydra::detail::impl::int_least_helper< 1 >

| Data Fields | | | | ----------------- | ----- | | | typedef long long | least | |

hydra::detail::impl::int_least_helper< 2 >

struct hydra::detail::impl::int_least_helper< 2 >

template<>

struct hydra::detail::impl::int_least_helper< 2 >

| Data Fields | | | | ------------ | ----- | | | typedef long | least | |

hydra::detail::impl::int_least_helper< 3 >

struct hydra::detail::impl::int_least_helper< 3 >

template<>

struct hydra::detail::impl::int_least_helper< 3 >

| Data Fields | | | | --------------------------------------------------------- | ----- | | | typedef int | least | |

hydra::detail::impl::int_least_helper< 4 >

struct hydra::detail::impl::int_least_helper< 4 >

template<>

struct hydra::detail::impl::int_least_helper< 4 >

| Data Fields | | | | ------------- | ----- | | | typedef short | least | |

hydra::detail::impl::int_least_helper< 5 >

struct hydra::detail::impl::int_least_helper< 5 >

template<>

struct hydra::detail::impl::int_least_helper< 5 >

| Data Fields | | | | ------------------- | ----- | | | typedef signed char | least | |

hydra::detail::impl::uint_least_helper

struct hydra::detail::impl::uint_least_helper

template

struct hydra::detail::impl::uint_least_helper< Category >

hydra::detail::impl::uint_least_helper< 1 >

struct hydra::detail::impl::uint_least_helper< 1 >

template<>

struct hydra::detail::impl::uint_least_helper< 1 >

| Data Fields | | | | ----------------------------------------------------------------------------- | ----- | | | typedef unsigned long long | least | |

hydra::detail::impl::uint_least_helper< 2 >

struct hydra::detail::impl::uint_least_helper< 2 >

template<>

struct hydra::detail::impl::uint_least_helper< 2 >

| Data Fields | | | | ------------------------------------------------------------------------ | ----- | | | typedef unsigned long | least | |

hydra::detail::impl::uint_least_helper< 3 >

struct hydra::detail::impl::uint_least_helper< 3 >

template<>

struct hydra::detail::impl::uint_least_helper< 3 >

| Data Fields | | | | --------------------------------------------------------------------------------------------------------------------- | ----- | | | typedef unsigned int | least | |

hydra::detail::impl::uint_least_helper< 4 >

struct hydra::detail::impl::uint_least_helper< 4 >

template<>

struct hydra::detail::impl::uint_least_helper< 4 >

| Data Fields | | | | ------------------------------------------------------------------------- | ----- | | | typedef unsigned short | least | |

hydra::detail::impl::uint_least_helper< 5 >

struct hydra::detail::impl::uint_least_helper< 5 >

template<>

struct hydra::detail::impl::uint_least_helper< 5 >

| Data Fields | | | | ------------------------------------------------------------------------ | ----- | | | typedef unsigned char | least | |

hydra::detail::int_fast_t

struct hydra::detail::int_fast_t

template

struct hydra::detail::int_fast_t< LeastInt >

| Data Fields | | | | ----------------------------------------------------------------------------------- | ---- | | | typedef LeastInt | fast | | | typedef fast | type | |