Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

basic_istream::basic_istream 

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.

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.

See the example for basic_ifstream::basic_ifstream to learn more about input streams.

Header: <istream>

Community Additions

ADD
Show:
© 2015 Microsoft