std::simd::__vec_builtin_of Concept Reference

`#include <vec_ops.h>`

## Concept definition

template<typename _Tp, typename _ValueType, __simd_size_type _Width sizeof(_Tp) / sizeof(_ValueType)>
concept std::simd::__vec_builtin_of = !is_class_v<_Tp> && !is_pointer_v<_Tp> && !is_arithmetic_v<_Tp>
&& __vectorizable<_ValueType>
&& _Width >= 1 && sizeof(_Tp) / sizeof(_ValueType) == _Width
&& same_as<__vec_builtin_type_bytes<_ValueType, sizeof(_Tp)>, _Tp>
&& requires(_Tp& __v, _ValueType __x) { __v[0] = __x; }
std::same_as
[concept.same], concept same_as
Definition concepts:65
std::simd::__vec_builtin_of
Definition vec_ops.h:73

## Detailed Description

Constrain to any vector builtin with given value type and optional width.

Definition at line 72 of file vec_ops.h.