cuda::std::pointer_traits<::cuda::heterogeneous_iterator< _Tp, _Properties… > >#

template<class _Tp, class ..._Properties>
struct pointer_traits<::cuda::heterogeneous_iterator<_Tp, _Properties...>>#

Public Types

using pointer = ::cuda::heterogeneous_iterator<_Tp, _Properties...>#
using element_type = _Tp#
using difference_type = ::cuda::std::ptrdiff_t#

Public Static Functions

static inline constexpr element_type *to_address(
const pointer __iter
) noexcept#

Retrieve the address of the element pointed at by an heterogeneous_iterator.

Parameters:

__iter – A heterogeneous_iterator.

Returns:

A pointer to the element pointed to by the heterogeneous_iterator