Share via


basic_ostream::operator=

Assigns values for the provided basic_ostream object parameter to this object.

basic_ostream& operator=(
    basic_ostream&& _Right
);

Parameters

  • _Right
    An rvalue reference to a basic_ostream object.

Property Value/Return Value

Returns a basic_ostream object reference.

Remarks

The member operator calls swap(_Right).

Requirements

Header: <ostream>

Namespace: std

See Also

Reference

<ostream>

Lvalues and Rvalues

iostream Programming

iostreams Conventions