basic_istream::basic_istream
'basic_istream' 형식의 개체를 생성합니다.
explicit basic_istream(
basic_streambuf<Elem, Tr> *_Strbuf,
bool _Isstd = false
);
basic_istream(basic_istream&& _Right);
매개 변수
_Strbuf
An object of type basic_streambuf._Isstd
true if this is a standard stream; otherwise, false._Right
복사할 basic_istream 개체입니다.
설명
The first constructor initializes the base class by calling init(_Strbuf). It also stores zero in the extraction count. For more information about this extraction count, see the Remarks section of the basic_istream 클래스 overview topic.
The second constructor initializes the base class by calling move(_Right). It also stores _Right.gcount() in the extraction count and stores zero in the extraction count for _Right.
예제
See the example for basic_ifstream::basic_ifstream to learn more about input streams.
요구 사항
Header: <istream>
네임스페이스: std