30 Input/output library [input.output]

30.7 Formatting and manipulators [iostream.format]

30.7.4 Input streams [input.streams]

30.7.4.6 Class template basic_­iostream [iostreamclass]

30.7.4.6.1 basic_­iostream constructors [iostream.cons]

explicit basic_iostream(basic_streambuf<charT, traits>* sb);
Effects: Constructs an object of class basic_­iostream, initializing the base class subobjects with basic_­istream<charT, traits>(sb) ([istream]) and basic_­ostream<charT, traits>(sb) ([ostream]).
Postconditions: rdbuf() == sb and gcount() == 0.
basic_iostream(basic_iostream&& rhs);
Effects: Move constructs from the rvalue rhs by constructing the basic_­istream base class with move(rhs).