35 #ifndef _BLAZE_UTIL_VALUETRAITS_ISPOWEROF_H_ 36 #define _BLAZE_UTIL_VALUETRAITS_ISPOWEROF_H_ 77 template<
size_t B,
size_t N >
112 struct IsPowerOf<2,0>
130 struct IsPowerOf<B,1>
148 struct IsPowerOf<1,N>
166 struct IsPowerOf<1,1>
184 struct IsPowerOf<B,0>
202 struct IsPowerOf<0,N>
220 struct IsPowerOf<0,0>
240 template<
size_t B,
size_t N >
BoolConstant< false > FalseType
Type/value traits base class.The FalseType class is used as base class for type traits and value trai...
Definition: IntegralConstant.h:121
Generic wrapper for a compile time constant integral value.The IntegralConstant class template repres...
Definition: IntegralConstant.h:72
constexpr bool IsPowerOf_v
Auxiliary variable template for the IsPowerOf value trait.The IsPowerOf_v variable template provides ...
Definition: IsPowerOf.h:241
BoolConstant< true > TrueType
Type traits base class.The TrueType class is used as base class for type traits and value traits that...
Definition: IntegralConstant.h:132
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
Header file for the IntegralConstant class template.
Compile time check for a power relationship of integral values to a given base.This value trait tests...
Definition: IsPowerOf.h:78