basic_ostream::basic_ostream
basic_ostream 개체를 생성합니다.
explicit basic_ostream(
basic_streambuf<_Elem, _Tr> *_Strbuf,
bool _Isstd = false
);
basic_ostream(
basic_ostream&& _Right
);
매개 변수
_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.
설명
The first constructor initializes the base class by calling init(_Strbuf). The second constructor initializes the base class by calling basic_ios::move(_Right).
예제
See the example for basic_ofstream::basic_ofstream to learn more about output streams.
요구 사항
Header: <ostream>
네임스페이스: std