std::experimental::vector_aligned_tag, std::experimental::vector_aligned

From cppreference.com
< cpp‎ | experimental‎ | simd
 
 
Technical specifications
Filesystem library (filesystem TS)
Library fundamentals (library fundamentals TS)
Library fundamentals 2 (library fundamentals TS v2)
Library fundamentals 3 (library fundamentals TS v3)
Extensions for parallelism (parallelism TS)
Extensions for parallelism 2 (parallelism TS v2)
Extensions for concurrency (concurrency TS)
Extensions for concurrency 2 (concurrency TS v2)
Concepts (concepts TS)
Ranges (ranges TS)
Reflection (reflection TS)
Mathematical special functions (special functions TR)
 
 
 
Defined in header <experimental/simd>
struct vector_aligned_tag {};
inline constexpr vector_aligned_tag vector_aligned{};
(parallelism TS v2)

This tag type indicates that the buffer of copy_from and copy_to is aligned to memory_alignment_v<T, U>, where the copy operation operates on the simd/simd_mask type T, and the buffer with element type U.

Notes

This tag type allows to implement vector-aligned load and store.

See also

flag indicating alignment of the load/store address to element alignment
(class)
(parallelism TS v2)
flag indicating alignment of the load/store address to the specified alignment
(class template)
(parallelism TS v2)
obtains an appropriate alignment for vector_aligned
(class template)