MPL11
|
Holds a compile-time value of an integral type. More...
Classes | |
struct | boost::mpl11::integer_c< T, v > |
Integer holding the specified value. More... | |
struct | boost::mpl11::integral_c< T, v > |
Alias to integer_c<T, v> ; provided for backward compatibility. More... | |
struct | boost::mpl11::bool_< B > |
Alias to integer_c<bool, B> ; provided for convenience. More... | |
struct | boost::mpl11::true_ |
Alias to bool_<true> ; provided for convenience. More... | |
struct | boost::mpl11::false_ |
Alias to bool_<false> ; provided for convenience. More... | |
struct | boost::mpl11::char_< C > |
Alias to integer_c<char, C> ; provided for convenience. More... | |
struct | boost::mpl11::short_< N > |
Alias to integer_c<short, N> ; provided for convenience. More... | |
struct | boost::mpl11::ushort< N > |
Alias to integer_c<unsigned short, N> ; provided for convenience. More... | |
struct | boost::mpl11::int_< N > |
Alias to integer_c<int, N> ; provided for convenience. More... | |
struct | boost::mpl11::uint< N > |
Alias to integer_c<unsigned int, N> ; provided for convenience. More... | |
struct | boost::mpl11::long_< N > |
Alias to integer_c<long, N> ; provided for convenience. More... | |
struct | boost::mpl11::ulong< N > |
Alias to integer_c<unsigned long, N> ; provided for convenience. More... | |
struct | boost::mpl11::llong< N > |
Alias to integer_c<long long, N> ; provided for convenience. More... | |
struct | boost::mpl11::ullong< N > |
Alias to integer_c<unsigned long long, N> ; provided for convenience. More... | |
struct | boost::mpl11::size_t< N > |
Alias to integer_c<std::size_t, N> ; provided for convenience. More... | |
Holds a compile-time value of an integral type.
In the following table, N
is an Integer
, and n
is an object of type N
.
Expression | Type |
---|---|
N::value_type | An integral type |
N::value | An integral constant expression |
N::type | N |
constexpr N::value_type c = N{} | n/a |
constexpr N::value_type c = n() | n/a |
Comparable
, Orderable
, Enumerable
, Monoid
, Group
, Ring
, IntegralDomain
and Bitwise
.