namespace std { template <class charT, class traits = char_traits<charT> > class basic_iostream : public basic_istream<charT,traits>, public basic_ostream<charT,traits> { public: typedef charT char_type; typedef typename traits::int_type int_type; typedef typename traits::pos_type pos_type; typedef typename traits::off_type off_type; typedef traits traits_type; explicit basic_iostream(basic_streambuf<charT,traits>* sb); virtual ~basic_iostream(); protected: basic_iostream(const basic_iostream& rhs) = delete; basic_iostream(basic_iostream&& rhs); basic_iostream& operator=(const basic_iostream& rhs) = delete; basic_iostream& operator=(basic_iostream&& rhs); void swap(basic_iostream& rhs); }; }
The class basic_iostream inherits a number of functions that allow reading input and writing output to sequences controlled by a stream buffer.
27.7.2.5.1 basic_iostream constructors [iostream.cons] explicit basic_iostream(basic_streambuf<charT,traits>* sb);
Effects: Constructs an object of class basic_iostream, assigning initial values to the base classes by calling basic_istream<charT,traits>(sb) ([istream]) and basic_ostream<charT,traits>(sb) ([ostream])
Postcondition: 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).
27.7.2.5.2 basic_iostream destructor [iostream.dest]Effects: Destroys an object of class basic_iostream.
Remarks: Does not perform any operations on rdbuf().
27.7.2.5.3 basic_iostream assign and swap [iostream.assign] basic_iostream& operator=(basic_iostream&& rhs);
void swap(basic_iostream& rhs);
Effects: Calls basic_istream<charT, traits>::swap(rhs).
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4