DPC++ Runtime
Runtime libraries for oneAPI DPC++
syclcompat::arith< T > Struct Template Reference

#include <syclcompat/traits.hpp>

Public Types

using type = std::conditional_t< std::is_pointer_v< T >, std::ptrdiff_t, T >

Detailed Description

template<typename T>
struct syclcompat::arith< T >

Definition at line 39 of file traits.hpp.

Member Typedef Documentation

◆ type

template<typename T >
using syclcompat::arith< T >::type = std::conditional_t<std::is_pointer_v<T>, std::ptrdiff_t, T>

Definition at line 40 of file traits.hpp.

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