muu/bit_ceil.h file

Contains the definition of muu::bit_ceil().

Namespaces

namespace muu
The root namespace for all muu functions and types.

Functions

template <typename T>
auto bit_ceil(T val) -> T constexpr noexcept
Finds the smallest integral power of two not less than the given value.