Partager via


basic_ios Class

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:

Requirements

Header: <ios>

Namespace: std

See Also

Reference

Thread Safety in the Standard C++ Library

iostream Programming

iostreams Conventions

Other Resources

basic_ios Members

<ios> Members