E.V.E
v2022.03.00
◆
is_aligned()
[1/4]
template<std::size_t A, typename T , typename Other >
constexpr bool eve::is_aligned
(
aligned_ptr
< T, Other > const &
ptr
)
constexpr
noexcept
Checks if an
aligned_ptr
is aligned on a given alignment.
Parameters
ptr
aligned_ptr
to checks
Template Parameters
A
Alignment constraint to verify
Returns
A boolean indicating if
ptr
is compatible with the
Other
alignment.
eve