1.7 KiB
[iostreamclass.general]
31 Input/output library [input.output]
31.7 Formatting and manipulators [iostream.format]
31.7.5 Input streams [input.streams]
31.7.5.7 Class template basic_iostream [iostreamclass]
31.7.5.7.1 General [iostreamclass.general]
namespace std {template<class charT, class traits = char_traits>class basic_iostream : public basic_istream<charT, traits>, public basic_ostream<charT, traits> {public:using char_type = charT; using int_type = typename traits::int_type; using pos_type = typename traits::pos_type; using off_type = typename traits::off_type; using traits_type = traits; // [iostream.cons], constructorexplicit basic_iostream(basic_streambuf<charT, traits>* sb); // [iostream.dest], destructorvirtual ~basic_iostream(); protected:// [iostream.cons], constructor basic_iostream(const basic_iostream&) = delete; basic_iostream(basic_iostream&& rhs); // [iostream.assign], assignment and swap basic_iostream& operator=(const basic_iostream&) = delete; basic_iostream& operator=(basic_iostream&& rhs); void swap(basic_iostream& rhs); };}
The class templatebasic_iostream inherits a number of functions that allow reading input and writing output to sequences controlled by a stream buffer.