Function align_up¶
function align_up(T, std::type_identity_t<T>) meta¶
template <typename T>
constexpr KFR_INTRINSIC T align_up(T x, std::type_identity_t<T> alignment) noexcept { … }
| T | integer type |
| x | value to align |
| alignment | alignment (must be a power of two) |
Fully qualified name: kfr::align_up(T, std::type_identity_t<T>)
Declared at meta.hpp:1598
Function align_up¶
function align_up(T *, size_t) meta¶
template <typename T>
constexpr KFR_INTRINSIC T* align_up(T* x, size_t alignment) noexcept { … }
| T | pointee type |
| x | pointer to align |
| alignment | alignment in bytes (must be a power of two) |
Fully qualified name: kfr::align_up(T *, size_t)
Declared at meta.hpp:1607
This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.