basic_istream::operator=

Assigns the basic_istream on the right side of the operator to this object. This is a move assignment involving an rvalue reference that does not leave a copy behind.

basic_istream& operator=(
    basic_istream&& _Right
);

Parameters

  • _Right
    An rvalue reference to a basic_ifstream object.

Return Value

Returns *this.

Remarks

The member operator calls swap(_Right).

Requirements

Header: <istream>

Namespace: std

See Also

Reference

basic_istream Class

basic_iostream Class

<istream>

Lvalues and Rvalues