Assigns initial values to the components of its base classes by calling the inherited member basic_ios::init with sb as argument.

(2) copy constructor (deleted)

Deleted: no copy constructor.

(3) move constructor (protected)

Acquires the contents of x, except its associated stream buffer: It calls basic_ios::move to transfer x's internal components inherited from basic_ios. x is left with its associated stream buffer unchanged and not tied (all other components of x are in an unspecified but valid state after the call).

Parameters

sb

pointer to a basic_streambuf object with the same template parameters as the basic_ostream object.char_type and traits_type are member types defined as aliases of the first and second class template parameters, respectively (see basic_ostream types).

x

Another basic_ostream of the same type (with the same class template arguments charT and traits).