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

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

Collaboration diagram for cl::sycl::detail::TryToGetPointerT< T >:

Public Types

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

Static Public Attributes

static constexpr bool value
 

Detailed Description

template<typename T>
class cl::sycl::detail::TryToGetPointerT< T >

Definition at line 292 of file generic_type_traits.hpp.

Member Typedef Documentation

◆ type

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

Definition at line 297 of file generic_type_traits.hpp.

Member Data Documentation

◆ value

template<typename T >
constexpr bool cl::sycl::detail::TryToGetPointerT< T >::value
staticconstexpr
Initial value:
=
std::is_pointer<T>::value || !std::is_same<T, type>::value

Definition at line 298 of file generic_type_traits.hpp.


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