Name
basic_istream class template — Base class for input stream
Synopsis
template <typename chT, typename traits = char_traits<chT> > class basic_istream : virtual public basic_ios<chT,traits> { public: // Types typedef chT 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_istream(basic_streambuf<chT,traits>* sb); virtual ~basic_istream( ); class sentry; // Formatted input basic_istream<chT,traits>& operator>>(basic_istream<chT,traits>& (*pf)(basic_istream<chT,traits>&)); basic_istream<chT,traits>& operator>> (basic_ios<chT,traits>& | (*pf)(basic_ios<chT,traits>&)); basic_istream<chT,traits>& operator>>(ios_base& (*pf)(ios_base&)); basic_istream<chT,traits>& operator>>(bool& n); basic_istream<chT,traits>& operator>>(short& n); basic_istream<chT,traits>& operator>>(unsigned short& n); basic_istream<chT,traits>& operator>>(int& n); basic_istream<chT,traits>& operator>>(unsigned int& n); basic_istream<chT,traits>& operator>>(long& n); basic_istream<chT,traits>& operator>>(unsigned long& n); basic_istream<chT,traits>& operator>>(float& f); basic_istream<chT,traits>& operator>>(double& f); basic_istream<chT,traits>& operator>>(long double& f); basic_istream<chT,traits>& operator>>(void*& p); basic_istream<chT,traits>& operator>> (basic_streambuf<char_type,traits>* sb); // Unformatted input streamsize gcount( ) const; int_type get( ); basic_istream<chT,traits>& ...
Get C++ In a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.