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