15 #include <type_traits> 31 template <
typename simd_t>
32 SEQAN3_CONCEPT simd_concept = requires (simd_t a, simd_t b)
34 typename simd_traits<std::remove_reference_t<simd_t>>::scalar_type;
35 typename simd_traits<std::remove_reference_t<simd_t>>::mask_type;
36 typename simd_traits<std::remove_reference_t<simd_t>>::swizzle_type;
43 { a[0] } ->
typename simd_traits<std::remove_reference_t<simd_t>>::scalar_type;
57 requires
std::same_as<decltype(a / b), std::remove_reference_t<simd_t>>;
59 requires
std::same_as<decltype(a -= b), std::remove_reference_t<simd_t> &>;
61 requires
std::same_as<decltype(a /= b), std::remove_reference_t<simd_t> &>;
86 template <
typename simd_t>
88 SEQAN3_CONCEPT simd_concept = !std::is_pointer_v<std::decay_t<simd_t>> && detail::simd_concept<simd_t>;
Provides seqan3::simd::simd_traits.
The main SeqAn3 namespace.
The concept integral is satisfied if and only if T is an integral type.
Definition: aligned_sequence_concept.hpp:36
The concept std::same_as<T, U> is satisfied if and only if T and U denote the same type...