basic_ostream::basic_ostream
Constructs a basic_ostream object.
explicit basic_ostream(
basic_streambuf<_Elem, _Tr> *_Strbuf,
bool _Isstd = false
);
basic_ostream(
basic_ostream&& _Right
);
Parameters
_Strbuf
An object of type basic_streambuf._Isstd
true if this is a standard stream; otherwise, false._Right
An rvalue reference to an object of type basic_ostream.
Remarks
The first constructor initializes the base class by calling init(_Strbuf). The second constructor initializes the base class by calling basic_ios::move(_Right).
Example
See the example for basic_ofstream::basic_ofstream to learn more about output streams.
Requirements
Header: <ostream>
Namespace: std