Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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<class Elem, class Traits> helps control a stream with elements of type Elem, whose character traits are determined by the class Traits.
For a list of all members of this type, see basic_ios Members.
template <class Elem, class Traits>
class basic_ios : public ios_base
Parameters
Elem
A type.Traits
A variable of type char_traits.
Remarks
An object of class basic_ios<class Elem, class Traits> stores:
A tie pointer to an object of type basic_istream<Elem, Traits>.
A stream buffer pointer to an object of type basic_streambuf<Elem, Traits >.
Stream state information in a base object of type ios_base.
A fill character in an object of type char_type.
Requirements
Header: <ios>
Namespace: std
See Also
Reference
Thread Safety in the Standard C++ Library