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

#include <sycl/detail/generic_type_traits.hpp>

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

Public Types

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

Static Public Attributes

static constexpr bool value
 

Detailed Description

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

Definition at line 336 of file generic_type_traits.hpp.

Member Typedef Documentation

◆ type

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

Definition at line 342 of file generic_type_traits.hpp.

Member Data Documentation

◆ value

template<typename T >
constexpr bool sycl::_V1::detail::TryToGetPointerT< T >::value
staticconstexpr
Initial value:
=
std::is_pointer_v<T> || !std::is_same_v<T, type>

Definition at line 343 of file generic_type_traits.hpp.


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