Difference between revisions of "cpp/experimental/simd/max fixed size"
From cppreference.com
< cpp | experimental | simd
m (simplify: simd_abi is already in the title) |
|||
Line 3: | Line 3: | ||
{{ddcl | header=experimental/simd | since=parallelism_ts_2 | 1= | {{ddcl | header=experimental/simd | since=parallelism_ts_2 | 1= | ||
− | template < class T > | + | template< class T > |
inline constexpr int max_fixed_size = /*implementation-defined*/; | inline constexpr int max_fixed_size = /*implementation-defined*/; | ||
}} | }} | ||
Line 13: | Line 13: | ||
It is unspecified whether an implementation supports {{c|simd<T, fixed_size<N>>}} with N > {{c|max_fixed_size<T>}}. The value of {{c|max_fixed_size<T>}} may depend on compiler flags and may change between different compiler versions. | It is unspecified whether an implementation supports {{c|simd<T, fixed_size<N>>}} with N > {{c|max_fixed_size<T>}}. The value of {{c|max_fixed_size<T>}} may depend on compiler flags and may change between different compiler versions. | ||
+ | |||
+ | ===See also=== | ||
+ | {{dsc begin}} | ||
+ | {{dsc inc | cpp/experimental/simd/dsc fixed_size}} | ||
+ | {{dsc end}} | ||
{{langlinks|ja|zh}} | {{langlinks|ja|zh}} |
Revision as of 12:50, 20 March 2023
Defined in header <experimental/simd>
|
||
template< class T > inline constexpr int max_fixed_size = /*implementation-defined*/; |
(parallelism TS v2) | |
The value of max_fixed_size<T> declares that an instance of simd<T, fixed_size<N>> with N <= max_fixed_size<T> is supported by the implementation.
Notes
It is unspecified whether an implementation supports simd<T, fixed_size<N>> with N > max_fixed_size<T>. The value of max_fixed_size<T> may depend on compiler flags and may change between different compiler versions.
See also
(parallelism TS v2) |
tag type for storing specified number of elements (alias template) |