Dela via


ios_base::operator=

The assignment operator for ios_base objects.

ios_base& operator=(
   const ios_base& _Right
);

Parameters

  • _Right
    An object of type ios_base.

Return Value

The object being assigned to.

Remarks

The operator copies the stored formatting information, making a new copy of any extensible arrays. It then returns *this. Note that the callback stack is not copied.

This operator is only used by classes derived from ios_base.

Requirements

Header: <ios>

Namespace: std

See Also

Reference

ios_base Class

iostream Programming

iostreams Conventions

Other Resources

ios_base Members