The header <iosfwd> is used for forward declarations of template classes.
The template class basic_ios<charT, traits> serves as a base class for class basic_istream and basic_ostream.
The class ios is an instantiation of basic_ios specialized by the type char.
The class wios is an instantiation of basic_ios specialized by the type wchar_t.