DPC++ Runtime
Runtime libraries for oneAPI DPC++
sycl::_V1::ext::oneapi::experimental::cplx::detail::__numeric_type< _Tp > Struct Template Reference

#include <sycl/ext/oneapi/experimental/complex/detail/complex_math.hpp>

Collaboration diagram for sycl::_V1::ext::oneapi::experimental::cplx::detail::__numeric_type< _Tp >:

Static Public Member Functions

static void __test (...)
 
static sycl::half __test (sycl::half)
 
static float __test (float)
 
static double __test (char)
 
static double __test (int)
 
static double __test (unsigned)
 
static double __test (long)
 
static double __test (unsigned long)
 
static double __test (long long)
 
static double __test (unsigned long long)
 
static double __test (double)
 

Public Attributes

decltype(__test(std::declval< _Tp >())) typedef type
 

Static Public Attributes

static const bool value = _IsNotSame<type, void>::value
 

Detailed Description

template<class _Tp>
struct sycl::_V1::ext::oneapi::experimental::cplx::detail::__numeric_type< _Tp >

Definition at line 35 of file complex_math.hpp.

Member Function Documentation

◆ __test() [1/11]

template<class _Tp >
static void sycl::_V1::ext::oneapi::experimental::cplx::detail::__numeric_type< _Tp >::__test (   ...)
static

◆ __test() [2/11]

template<class _Tp >
static double sycl::_V1::ext::oneapi::experimental::cplx::detail::__numeric_type< _Tp >::__test ( char  )
static

◆ __test() [3/11]

template<class _Tp >
static double sycl::_V1::ext::oneapi::experimental::cplx::detail::__numeric_type< _Tp >::__test ( double  )
static

◆ __test() [4/11]

template<class _Tp >
static float sycl::_V1::ext::oneapi::experimental::cplx::detail::__numeric_type< _Tp >::__test ( float  )
static

◆ __test() [5/11]

template<class _Tp >
static double sycl::_V1::ext::oneapi::experimental::cplx::detail::__numeric_type< _Tp >::__test ( int  )
static

◆ __test() [6/11]

template<class _Tp >
static double sycl::_V1::ext::oneapi::experimental::cplx::detail::__numeric_type< _Tp >::__test ( long long  )
static

◆ __test() [7/11]

template<class _Tp >
static double sycl::_V1::ext::oneapi::experimental::cplx::detail::__numeric_type< _Tp >::__test ( long  )
static

◆ __test() [8/11]

template<class _Tp >
static sycl::half sycl::_V1::ext::oneapi::experimental::cplx::detail::__numeric_type< _Tp >::__test ( sycl::half  )
static

◆ __test() [9/11]

template<class _Tp >
static double sycl::_V1::ext::oneapi::experimental::cplx::detail::__numeric_type< _Tp >::__test ( unsigned long long  )
static

◆ __test() [10/11]

template<class _Tp >
static double sycl::_V1::ext::oneapi::experimental::cplx::detail::__numeric_type< _Tp >::__test ( unsigned long  )
static

◆ __test() [11/11]

template<class _Tp >
static double sycl::_V1::ext::oneapi::experimental::cplx::detail::__numeric_type< _Tp >::__test ( unsigned  )
static

Member Data Documentation

◆ type

template<class _Tp >
decltype(__test(std::declval<_Tp>())) typedef sycl::_V1::ext::oneapi::experimental::cplx::detail::__numeric_type< _Tp >::type

Definition at line 48 of file complex_math.hpp.

◆ value

template<class _Tp >
const bool sycl::_V1::ext::oneapi::experimental::cplx::detail::__numeric_type< _Tp >::value = _IsNotSame<type, void>::value
static

Definition at line 49 of file complex_math.hpp.


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