![]() |
Blaze 3.9
|
Compile time check whether a compile time constant expression is odd. More...
#include <IsOdd.h>
Inherits blaze::IntegralConstant< T, N >.
Compile time check whether a compile time constant expression is odd.
This value trait tests whether the given integral value N is an odd value. In case the value is odd, the value member enumeration is set to 1, the nested type definition Type is TrueType, and the class derives from TrueType. Otherwise value is set to 0, Type is FalseType, and the class derives from FalseType.