dune-common 2.12-git
Loading...
Searching...
No Matches
Dune::Simd::Overloads::RebindType< S, V, std::enable_if_t< StdSimdImpl::IsVector< V >::value &&StdSimdImpl::IsVectorizable< S >::value &&!std::is_same< S, Scalar< typename StdSimdImpl::VectorType< V >::type > >::value > > Struct Template Reference

should have a member type type More...

#include <dune/common/simd/stdsimd.hh>

Public Types

using type = std::experimental::rebind_simd_t< S, typename StdSimdImpl::VectorType< V >::type >
 

Detailed Description

template<class S, class V>
struct Dune::Simd::Overloads::RebindType< S, V, std::enable_if_t< StdSimdImpl::IsVector< V >::value &&StdSimdImpl::IsVectorizable< S >::value &&!std::is_same< S, Scalar< typename StdSimdImpl::VectorType< V >::type > >::value > >

should have a member type type

Implements Simd::Rebind

This specialization covers

  • Mask -> vectorizable type except bool, Scalar<Mask::simd_type>
  • Vector -> vectorizable type except bool, Scalar<Vector>

The result is the vector type std::experimental::rebind_simd_t of the vector type of V, which may have a different ABI.

Member Typedef Documentation

◆ type

template<class S , class V >
using Dune::Simd::Overloads::RebindType< S, V, std::enable_if_t< StdSimdImpl::IsVector< V >::value &&StdSimdImpl::IsVectorizable< S >::value &&!std::is_same< S, Scalar< typename StdSimdImpl::VectorType< V >::type > >::value > >::type = std::experimental::rebind_simd_t< S, typename StdSimdImpl::VectorType<V>::type>

The documentation for this struct was generated from the following file: