Template:ddcl list begin <tr class="t-dcl "><td >
basic_istream& operator=( const basic_istream& rhs ) = delete;
<td > (1) </td> <td class="t-dcl-nopad"> </td> </tr> <tr class="t-dcl "><td >
basic_istream& operator=( basic_istream&& rhs );
<td > (2) </td> <td > (since C++11) </td> </tr> Template:ddcl list end
1) The copy assignment operator is protected, and is deleted. Input streams are not CopyAssignable.
2) The move assignment operator exchanges the gcount() values and all data members of the base class, except for
rhs, as if by calling swap(*rhs). This move assignment operator is protected: it is only called by the move assignment operators of the derived movable input stream classes std::basic_ifstream and std::basic_istringstream, which know how to correctly move-assign the associated streambuffers.
|rhs||-||the basic_istream object from which to assign to *this|