Thrust

◆ operator<<() [3/3]

template<typename T , typename charT , typename traits >
std::basic_ostream<charT, traits>& thrust::operator<< ( std::basic_ostream< charT, traits > &  os,
const device_reference< T > &  y 
)

Writes to an output stream the value of a device_reference.

Parameters
osThe output stream.
yThe device_reference to output.
Returns
os.