Print to the specified stream the address of the shared object referred to by the specified rhs shared pointer and return a reference to the modifiable stream.
Synopsis
Declared in <bslstl_sharedptr.h>
template<
class CHAR_TYPE,
class CHAR_TRAITS,
class ELEMENT_TYPE>
std::basic_ostream<CHAR_TYPE, CHAR_TRAITS>&
operator<<(
std::basic_ostream<CHAR_TYPE, CHAR_TRAITS>& stream,
shared_ptr<ELEMENT_TYPE> const& rhs);
Return Value
reference to the modifiable stream
Parameters
Name |
Description |
stream |
output stream to write to |
rhs |
right‐hand side operand |
Created with MrDocs