Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Constructs an object of type basic_istream.
explicit basic_istream(
basic_streambuf<Elem, Tr> *_Strbuf,
bool _Isstd = false
);
Parameters
_Strbuf
An object of type basic_streambuf._Isstd
true if this is a standard stream; otherwise, false.
Remarks
The constructor initializes the base class by calling init(_Strbuf). It also stores zero in the extraction count. For more information on this extraction count, see the Remarks section of the basic_istream Class overview topic.
Example
See the example for basic_ifstream::basic_ifstream to learn more about input streams.
Requirements
Header: <istream>
Namespace: std