Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function template operator<<

boost::movelib::operator<<

Synopsis

// In header: <boost/move/unique_ptr.hpp>


template<typename Ostream, typename T, typename D> 
  Ostream & operator<<(Ostream & os, const unique_ptr< T, D > & p);

Description

Effects: os << p.get().

Returns: os.

Remarks: This operator shall not participate in overload resolution unless Ostream is std::basic_ostream or a class derived from it. The stream type is a template parameter so that this header does not include <iosfwd>.


PrevUpHomeNext