operator<<
#
Overloads#
operator<<(os, z)
#
operator<<(os, dp)
#
-
template<typename T, typename CharT, typename Traits>
std::basic_ostream<CharT, Traits> &thrust::operator<<( - std::basic_ostream<CharT, Traits> &os,
- device_ptr<T> const &dp,
Write the address that a
device_ptr
points to to an output stream.- Parameters:
os – The output stream.
dp – The
device_ptr
to output.
- Returns:
os
.
operator<<(os, y)
#
-
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:
os – The output stream.
y – The
device_reference
to output.
- Returns:
os.