Partager via


basic_ios::basic_ios

Constructs the basic_ios class.

explicit basic_ios(
   basic_streambuf<_Elem,
      _Traits> *_Sb
);

Parameters

  • _Sb
    Standard buffer to store input or output elements.

Remarks

The first constructor initializes its member objects by calling init(_Sb). The second (protected) constructor leaves its member objects uninitialized. A later call to init must initialize the object before it can be safely destroyed.

Requirements

Header: <ios>

Namespace: std

See Also

Concepts

basic_ios Class

basic_ios Members

iostream Programming

iostreams Conventions