43 #include <meta/meta.hpp> 61 constexpr
bool is_power_of_two(
size_t const n)
63 return n > 0 && (n & (n-1)) == 0;
77 constexpr
size_t next_power_of_two(
size_t n)
83 for (
size_t shift = 1; !is_power_of_two(n + 1); shift <<= 1)
Definition: aligned_sequence_concept.hpp:288