35 #ifndef _BLAZE_UTIL_VALUETRAITS_ISPOWEROF_H_ 36 #define _BLAZE_UTIL_VALUETRAITS_ISPOWEROF_H_ 79 template<
size_t B,
size_t N >
114 struct IsPowerOf<2,0>
132 struct IsPowerOf<B,1>
150 struct IsPowerOf<1,N>
168 struct IsPowerOf<1,1>
186 struct IsPowerOf<B,0>
204 struct IsPowerOf<0,N>
222 struct IsPowerOf<0,0>
242 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: FalseType.h:61
Header file for the FalseType type/value trait base class.
Generic wrapper for a compile time constant integral value.The IntegralConstant class template repres...
Definition: IntegralConstant.h:71
constexpr bool IsPowerOf_v
Auxiliary variable template for the IsPowerOf value trait.The IsPowerOf_v variable template provides ...
Definition: IsPowerOf.h:243
BoolConstant< true > TrueType
Type traits base class.The TrueType class is used as base class for type traits and value traits that...
Definition: TrueType.h:61
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:80
Header file for the TrueType type/value trait base class.