function template
std::bit_ceil
- Header
<bit>- Draft
- [bit.pow.two]
- Scope
std- cppreference
- std::bit_ceil
Synopsis
template</* implementation-defined */ T>
[[nodiscard]] constexpr T bit_ceil(T x);function template
<bit>stdtemplate</* implementation-defined */ T>
[[nodiscard]] constexpr T bit_ceil(T x);