Skip to content

Search topics & cppreference

Search all study topics, concept maps, and 6,587 C++ and C reference pages.

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

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.

NotebookLM
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)

Content from this page on cppreference.com, licensed under CC-BY-SA 3.0 and GFDL. Modified: restyled, site navigation removed, code windows added. Offline snapshot of 9 February 2025.