std::basic_simd, std::simd

Header: <simd>

  1. std::basic_simd specialization is a data-parallel type. The default ABI tag is determined by the implementation at compile-time.

# Declarations

template< class T, class Abi = /*native-abi*/<T> >
class basic_simd;

(since C++26)

template< class T, /*simd-size-type*/ N = /*simd-size-v*/<T, /*native-abi*/<T>> >
using simd = basic_simd<T, /*deduce-abi-t*/<T, N>>;

(since C++26)

# Notes

Implementations are recommended to support explicit conversions between enabled specializations of basic_simd and appropriate implementation-defined types. These appropriate types are non-standard vector types which are available in the implementation.

# Example

This section is incompleteReason: no example

# See also