Thrust

◆ operator->()

template<class T>
__thrust_exec_check_disable__ __host__ __device__ constexpr const T* thrust::optional< T >::operator-> ( ) const
Returns
a pointer to the stored value a value is stored pointer constexpr const T *operator->() const;

References thrust::addressof().