Template Struct IsPowerOfTwoStatic
Defined in File input_reader.h
Template Parameter Order
size_t val
Struct Documentation
-
template<size_t val>
struct IsPowerOfTwoStatic Type trait that determines if the template parameter val is a power of two during compile time.
- Template Parameters:
val –
Public Static Attributes
-
static const bool res = !(val & 0x01) && IsPowerOfTwoStatic<(val >> 1)>::res
The value that contains the result of the calculation.