Function align_down¶
function align_down(T, std::type_identity_t<T>) meta¶
template <typename T>
constexpr KFR_INTRINSIC T align_down(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_down(T, std::type_identity_t<T>)
Declared at meta.hpp:1579
Function align_down¶
function align_down(T *, size_t) meta¶
template <typename T>
constexpr KFR_INTRINSIC T* align_down(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_down(T *, size_t)
Declared at meta.hpp:1588
This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.