Standard C++ Library Reference ISO/IEC (VERSION3)
unsigned char *str);
template<class Tr>
basic_istream<char, Tr>&
operator>>(basic_istream<char, Tr>& istr,
unsigned char& ch);
// MANIPULATORS
template class<Elem, Tr>
basic_istream<Elem, Tr>& ws(basic_istream<Elem, Tr>& istr);
};
basic_iostream
template <class Elem, class Tr = char_traits<Elem> >
class basic_iostream : public basic_istream<Elem, Tr>,
public basic_ostream<Elem, Tr> {
public:
explicit basic_iostream(basic_streambuf<Elem, Tr>& *strbuf);
virtual ~basic_iostream();
};
The template class describes an object that controls insertions, through its base object
basic_ostream<Elem, Tr>, and extractions, through its base object
basic_istream<Elem, Tr>. The two objects share a common virtual base object
basic_ios<Elem, Tr>. They also manage a common stream buffer, with elements of type
Elem, whose character traits are determined by the class Tr. The constructor initializes its base
objects via basic_istream(strbuf) and basic_ostream(strbuf).
basic_istream
basic_istream · gcount · get · getline · ignore · operator>> ·
peek · putback · read · readsome · seekg · sentry · sync · tellg ·
unget
template <class Elem, class Tr = char_traits<Elem> >
class basic_istream
: virtual public basic_ios<Elem, Tr> {
public:
typedef typename basic_ios<Elem, Tr>::char_type char_type;
typedef typename basic_ios<Elem, Tr>::traits_type traits_type;
typedef typename basic_ios<Elem, Tr>::int_type int_type;
typedef typename basic_ios<Elem, Tr>::pos_type pos_type;