< 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>
using scalar = /*unspecified*/;
(parallelism TS v2)

With the scalar ABI tag, data-parallel types are equivalent to a single element type. However, the full simd and simd_mask interface is supported and thus eases development of generic code.

[edit] Notes

scalar is not an alias to fixed_size<1>.

[edit] See also

(parallelism TS v2)
tag type for storing specified number of elements
(alias template) [edit]
(parallelism TS v2)
tag type that ensures ABI compatibility
(alias template) [edit]
(parallelism TS v2)
tag type that is most efficient
(alias template) [edit]
(parallelism TS v2)
obtains an ABI type for given element type and number of elements
(class template) [edit]