initialization (1) | explicit basic_istream (basic_streambuf<char_type,traits_type>* sb); |
---|
initialization (1) | explicit basic_istream (basic_streambuf<char_type,traits_type>* sb); |
---|---|
copy (2) | basic_istream& (const basic_istream&) = delete; |
move (3) | protected: basic_istream& (basic_istream&& x); |
|
|
test.txt
. The buffer is passed as parameter to the constructor of the basic_istream object is, associating it to the stream. Then, the program uses the input stream to print its contents to cout.