Skip to content

Function next_poweroftwo

function next_poweroftwo(T) meta

template <std::unsigned_integral T>
constexpr KFR_INTRINSIC T next_poweroftwo(T n) noexcept { … }

Returns a nearest power of two that is greater or equal than n

Fully qualified name: kfr::next_poweroftwo(T)

Declared at meta.hpp:819

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