file
countl.hContains the definitions of muu::
Namespaces
- namespace muu
- The root namespace for all muu functions and types.
Functions
-
template <typename T>auto countl_one(T val) -> int constexpr noexcept
- Counts the number of consecutive 1 bits, starting from the left.
-
template <typename T>auto countl_zero(T val) -> int constexpr noexcept
- Counts the number of consecutive 0 bits, starting from the left.