27 Input/output library [input.output]

27.7 Formatting and manipulators [iostream.format]

27.7.5 Output streams [output.streams]

27.7.5.1 Class template basic_­ostream [ostream]

27.7.5.1.1 Constructors [ostream.cons]

explicit basic_ostream(basic_streambuf<charT, traits>* sb);
Effects: Constructs an object of class basic_­ostream, initializing the base class subobject with basic_­ios<charT, traits>::init(sb) ([basic.ios.cons]).
Ensures: rdbuf() == sb.
basic_ostream(basic_ostream&& rhs);
Effects: Move constructs from the rvalue rhs.
This is accomplished by default constructing the base class and calling basic_­ios<charT, traits>::move(rhs) to initialize the base class.
virtual ~basic_ostream();
Effects: Destroys an object of class basic_­ostream.
Remarks: Does not perform any operations on rdbuf().