std::ceil2 (3) - Linux Man Pages
Defined in header <bit>
template< class T > (since C++20)
constexpr T ceil2(T x) noexcept;
Calculates the smallest integral power of two that is not smaller than x. If that value is not representable in T, the result is unspecified.
This overload only participates in overload resolution if T is an unsigned integer type (that is, unsigned char, unsigned short, unsigned int, unsigned long, unsigned long long, or an extended unsigned integer type).
The smallest integral power of two that is not smaller than x, or an unspecified value if the result cannot be represented in T.
This section is incomplete
Reason: no example