template <size_t B, class D>
constexpr size_t ctz(const basic_integer<B, D, false>& value) noexcept;
constexpr since C++14
Calculates count 0-bits from LSB before 1-bit in integer.
Example
#include "fwnbi.hpp"
#include <iostream>
using namespace fwnbi::literals;
int main() {
std::cout << fwnbi::ctz(15241578750190528_ull128) << '\n';
}
Output
6