public member function
<ios> <iostream>

std::ios::ios

intialization (1)
   public: explicit ios (streambuf* sb);
default (2)
protected: ios();
intialization (1)
   public: explicit ios (streambuf* sb);
default (2)
protected: ios();
copy (3)
ios (const ios&) = delete;ios& operator= (const ios&) = delete;
Construct object
The initialization constructor (1) initializes the stream object by calling init(sb).

If invoked by a derived class using the default constructor (2), it constructs an object leaving its members uninitialized. In this case the object shall be explicitly initialized by calling init at some point before its first use or before it is destroyed (if never used).

The copy constructor (3) is explicitly deleted (as well as the copy assignment overload of operator=).

Parameters

sb
pointer to an object of type streambuf.

Data races

The object pointed by sb may be accessed and/or modified.

Exception safety

If an exception is thrown, the only side effects may come from accessing/modifying sb.

See also