27 Input/output library [input.output]

27.7 Formatting and manipulators [iostream.format]

27.7.4 Input streams [input.streams]

27.7.4.1 Class template basic_­istream [istream]

27.7.4.1.2 Assignment and swap [istream.assign]

basic_istream& operator=(basic_istream&& rhs);
Effects: As if by swap(rhs).
Returns: *this.
void swap(basic_istream& rhs);
Effects: Calls basic_­ios<charT, traits>::swap(rhs).
Exchanges the values returned by gcount() and rhs.gcount().