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

#include <CL/sycl/detail/generic_type_traits.hpp>

Collaboration diagram for cl::sycl::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 cl::sycl::detail::TryToGetElementType< T >

Definition at line 303 of file generic_type_traits.hpp.

Member Typedef Documentation

◆ type

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

Definition at line 308 of file generic_type_traits.hpp.

Member Data Documentation

◆ value

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

Definition at line 309 of file generic_type_traits.hpp.


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