Skip to content

Function is_poweroftwo

function is_poweroftwo(T) meta

template <std::unsigned_integral T>
constexpr KFR_INTRINSIC bool is_poweroftwo(T x) noexcept { … }

Returns

true if x is an exact power of two (returns false for 0 )

Fully qualified name: kfr::is_poweroftwo(T)

Declared at meta.hpp:805

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.