muu/assume_aligned.h file

Contains the definition of muu::assume_aligned().

Namespaces

namespace muu
The root namespace for all muu functions and types.

Functions

template <size_t N, typename T>
auto assume_aligned(T* ptr) -> T* constexpr noexcept
Equivalent to C++20's std::assume_aligned.