std::experimental::concat(3)

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

πŸ’– NAME πŸ’–

std::experimental::concat β€” literally std::experimental::concat, bestie. That's the whole name, no cap. This page is from the C++ Standard Libary manual and it's std::experimental::concat(3).


✨ Synopsis ✨

okay so this is Defined in header <experimental/simd>, and there are two overloads. Both are marked (parallelism TS v2). Here's the exact signature energy:

Defined in header <experimental/simd>

template< class T, class... Abis >
simd<T, simd_abi::deduce_t<T, (simd_size_v<T, Abis> + ...)>>
concat( const simd<T, Abis>&... vs ) noexcept;

template< class T, class... Abis >
simd_mask<T, simd_abi::deduce_t<T, (simd_size_v<T, Abis> + ...)>>
concat( const simd_mask<T, Abis>&... vs ) noexcept;

The first one is overload (1), the second is overload (2), and both are (parallelism TS v2).

What it does: Concatenates the input simd or simd_mask objects. Periodt.


🫢 Parameter

  • vs β€” the input simd or simd_mask parameter pack.

πŸ”₯ Return value

✨ The concatenated result of a single simd or simd_mask object. That's it, bestie.


🌈 Example

No extra example lines are given here in the source, so I'm not inventing any β€” keeping it 100.


πŸ’– source/version/date vibes: http://cppreference.com, 2024.06.10, page std::experimental::concat(3) β€” okay bye bestie, slay your SIMD! πŸŽ€

πŸ“¦ where this page comes from