次の方法で共有


basic_ios::basic_ios

Constructs the basic_ios class.

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

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

Reference

basic_ios Class

iostream Programming

iostreams Conventions

Other Resources

basic_ios Members