vir-simd 0.4.189
Parallelism TS 2 extensions and simd fallback implementation
Loading...
Searching...
No Matches
vir::vectorizable_struct_template Concept Reference

A type T is a vectorizable struct template if all of its data members can be vectorized via template argument simdization. More...

#include <simdize.h>

Concept definition

template<typename T>
and bool(detail::test_all_of<detail::is_consistent_struct_vectorization<T>>(
std::make_index_sequence<vir::detail::flat_member_count_v<T>>()))
Satisfied if T can be used with the following functions and types.
Definition struct_reflect.h:405
A type T is a vectorizable struct template if all of its data members can be vectorized via template ...
Definition simdize.h:336
constexpr std::size_t struct_size_v
The number of non-static data members of T.
Definition struct_reflect.h:425

Detailed Description

A type T is a vectorizable struct template if all of its data members can be vectorized via template argument simdization.