Standard C++ Library Reference ISO/IEC (VERSION3)
explicit basic_ios(basic_streambuf<Elem, Tr> *strbuf);
virtual ~basic_ios();
operator void *() const;
bool operator!() const;
iostate rdstate() const;
void clear(iostate state = goodbit);
void setstate(iostate state);
bool good() const;
bool eof() const;
bool fail() const;
bool bad() const;
iostate exceptions() const;
iostate exceptions(iostate newexcept);
basic_ios& copyfmt(const basic_ios& right);
locale imbue(const locale& loc);
char_type widen(char ch);
char narrow(char_type ch, char dflt);
char_type fill() const;
char_type fill(char_type ch);
basic_ostream<Elem, Tr> *tie() const;
basic_ostream<Elem, Tr> *tie(basic_ostream<Elem, Tr> *newtie);
basic_streambuf<Elem, Tr> *rdbuf() const;
basic_streambuf<Elem, Tr>
*rdbuf(basic_streambuf<Elem, Tr> *strbuf);
Elem widen(char ch);
char narrow(Elem ch, char dflt);
protected:
void init(basic_streambuf<Elem, Tr> *strbuf);
basic_ios();
basic_ios(const facet&); // not defined
void operator=(const facet&) // not defined
};
The template class describes the storage and member functions common to both input streams (of
template class basic_istream) and output streams (of template class basic_ostream) that
depend on the template parameters. (The class ios_base describes what is common and not
dependent on template parameters. An object of class basic_ios<Elem, Tr> helps control a
stream with elements of type Elem, whose character traits are determined by the class Tr.
An object of class basic_ios<Elem, Tr> stores:
a tie pointer to an object of type basic_ostream<Elem, Tr>●
a stream buffer pointer to an object of type basic_streambuf<Elem, Tr>●
formatting information●