Mathter
A configurable 3D math library for game developers.
Static Public Member Functions | Static Public Attributes | List of all members
mathter::traits::HasSimd< VectorDataT > Struct Template Reference

#include <Traits.hpp>

Static Public Member Functions

template<class U >
static std::false_type test (...)
 
template<class U >
static decltype(U::simd) test (int)
 

Static Public Attributes

static constexpr bool value = !std::is_same<std::false_type, decltype(test<VectorDataT>(0))>::value
 

Member Function Documentation

◆ test() [1/2]

template<class VectorDataT>
template<class U >
static std::false_type mathter::traits::HasSimd< VectorDataT >::test (   ...)
inlinestatic

◆ test() [2/2]

template<class VectorDataT>
template<class U >
static decltype(U::simd) mathter::traits::HasSimd< VectorDataT >::test ( int  )
inlinestatic

Member Data Documentation

◆ value

template<class VectorDataT>
constexpr bool mathter::traits::HasSimd< VectorDataT >::value = !std::is_same<std::false_type, decltype(test<VectorDataT>(0))>::value
static

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