#include <concepts>
constexpr bool is_pow2(std::unsigned_integral auto x) {
return x && !(x & (x - 1));
}
~ / code / portfolio / projects /
#include <concepts>
constexpr bool is_pow2(std::unsigned_integral auto x) {
return x && !(x & (x - 1));
}