class template partial specialization
std::simd::alignment<basic_vec<T, Abi>, U>
- Header
<simd>- Draft
- [simd.syn]
- Scope
std::simd- cppreference
- <simd> nearest page
Synopsis
template<class T, class Abi, class U>
requires (simd-size-v<T, Abi> != 0 && simd-vectorizable<U>)
struct alignment<basic_vec<T, Abi>, U>
: integral_constant<size_t, alignof(simd-storage<U, simd-size-v<T, Abi>>)>Member types
| Name | Declaration |
|---|---|
typetype alias · member type | = integral_constant |
value_typetype alias · member type | = T |
Member functions
| Name | Declaration |
|---|---|
operator()operator | value_type operator()() const |
operator value_typeconversion function | operator value_type() const |
Static data members
| Name | Declaration |
|---|---|
valuestatic data member | T |