std::experi...ment_aligned(3)

πŸ“¦ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

πŸ’– NAME πŸ’–

Okay bestie, we're on the std::experi...ment_aligned(3) page from the C++ Standard Libary, and the NAME line is doing the absolute most. It gives us std::experimental::element_aligned_tag,std::experimental::element_aligned, then a literal -, then std::experimental::element_aligned_tag,std::experimental::element_aligned again. Yes, it said it twice. Periodt. πŸ’…


✨ Synopsis ✨

Here's the synopsis, served fresh and exact:

Defined in header <experimental/simd>
struct element_aligned_tag {};                           (parallelism TS v2)
inline constexpr element_aligned_tag element_aligned{};

So this tag type is literally telling you that the buffer used by copy_from and copy_to is aligned to its element alignment. That's the whole vibe: element alignment, no cap. πŸŽ€


πŸ‘€ See also πŸ‘€

The See also section is giving related-alignment lore, and the original columns wrapped kinda unhinged, so here are the exact pieces so nothing gets lost:

  • vector_aligned_tag β€” the flag indicating alignment of the load/store address to vector...
  • vector_aligned β€” alignment...
  • (parallelism TS v2) (class) β€” the class/status note, exactly as it appears
  • overaligned_tag β€” the flag indicating alignment of the load/store address to the...
  • overaligned β€” specified alignment...
  • (parallelism TS v2) (class template) β€” the class-template/status note, exactly as it appears
The original wrapped β€œvector” and β€œalignment” across rows like it was texting with one thumb, so don't come for me about the line breaks. The tokens and wording are all still here. 🫢

Source/version/date tea at the very end: http://cppreference.com, 2024.06.10, and the page is std::experi...ment_aligned(3) β€” mwah, bye bestie πŸ’–βœ¨

πŸ“¦ where this page comes from