The
class template specialization
basic_ios<charT, traits>
serves as a virtual base class for the
class templates
basic_istream,
basic_ostream,
and
class templates
derived from them.
basic_iostream
is a class
template
derived from both
basic_istream<charT, traits>
and
basic_ostream<charT, traits>.
The
class template specialization
basic_streambuf<charT, traits>
serves as a base class for class templates
basic_stringbuf,
basic_filebuf,
and
basic_syncbuf.
The
class template specialization
basic_ostream<charT, traits>
serves as a base class for class templates
basic_ostringstream,
basic_ofstream,
and
basic_osyncstream.