thrust

◆ operator=() [1/2]

template<typename T>
template<typename OtherT >
__host__ __device__ device_reference& thrust::device_reference< T >::operator= ( const device_reference< OtherT > &  other)

This assignment operator assigns the value of the object referenced by the given device_reference to the object referenced by this device_reference.

Parameters
otherThe device_reference to assign from.
Returns
*this

Referenced by thrust::device_reference< T >::device_reference().