DPC++ Runtime
Runtime libraries for oneAPI DPC++
sycl::_V1::detail::TryToGetElementType< T > Class Template Reference

#include <sycl/detail/generic_type_traits.hpp>

Collaboration diagram for sycl::_V1::detail::TryToGetElementType< T >:

Public Types

using type = decltype(check(T()))
 

Static Public Attributes

static constexpr bool value = !std::is_same<T, type>::value
 

Detailed Description

template<typename T>
class sycl::_V1::detail::TryToGetElementType< T >

Definition at line 319 of file generic_type_traits.hpp.

Member Typedef Documentation

◆ type

template<typename T >
using sycl::_V1::detail::TryToGetElementType< T >::type = decltype(check(T()))

Definition at line 325 of file generic_type_traits.hpp.

Member Data Documentation

◆ value

template<typename T >
constexpr bool sycl::_V1::detail::TryToGetElementType< T >::value = !std::is_same<T, type>::value
staticconstexpr

Definition at line 326 of file generic_type_traits.hpp.


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