|
Blaze 3.9
|
Classes | |
| struct | blaze::IsEven< N > |
| Compile time check whether a compile time constant expression is even. More... | |
| struct | blaze::IsMultipleOf< M, N > |
| Compile time check for a multiplicative relationship of two integral values. More... | |
| struct | blaze::IsOdd< N > |
| Compile time check whether a compile time constant expression is odd. More... | |
| struct | blaze::IsPowerOf< B, N > |
| Compile time check for a power relationship of integral values to a given base. More... | |
Variables | |
| template<size_t N> | |
| constexpr bool | blaze::IsEven_v = IsEven<N>::value |
| Auxiliary variable template for the IsEven value trait. | |
| template<size_t M, size_t N> | |
| constexpr bool | blaze::IsMultipleOf_v = IsMultipleOf<M,N>::value |
| Auxiliary variable template for the IsMultipleOf value trait. | |
| template<size_t N> | |
| constexpr bool | blaze::IsOdd_v = IsOdd<N>::value |
| Auxiliary variable template for the IsOdd value trait. | |
| template<size_t B, size_t N> | |
| constexpr bool | blaze::IsPowerOf_v = IsPowerOf<B,N>::value |
| Auxiliary variable template for the IsPowerOf value trait. | |
Auxiliary variable template for the IsEven value trait.
The IsEven_v variable template provides a convenient shortcut to access the nested value of the IsEven class template. For instance, given the compile time constant value N the following two statements are identical:
|
constexpr |
Auxiliary variable template for the IsMultipleOf value trait.
The IsMultipleOf_v variable template provides a convenient shortcut to access the nested value of the IsMultipleOf class template. For instance, given the compile time constant values M and N the following two statements are identical:
Auxiliary variable template for the IsOdd value trait.
The IsOdd_v variable template provides a convenient shortcut to access the nested value of the IsOdd class template. For instance, given the compile time constant value N the following two statements are identical:
Auxiliary variable template for the IsPowerOf value trait.
The IsPowerOf_v variable template provides a convenient shortcut to access the nested value of the IsPowerOf class template. For instance, given the compile time constant values B and N the following two statements are identical: