std::basic_istream::basic_istream

From Cppreference

Jump to: navigation, search
explicit basic_istream( basic_streambuf<CharT,Traits>* sb);

Constructs the basic_istream object. This is effectively done by calling basic_ios::init(sb).

[edit] Parameters

sb - streambuffer to use as underlying device