30 Input/output library [input.output]

30.7 Formatting and manipulators [iostream.format]

30.7.4 Input streams [input.streams]

30.7.4.1 Class template basic_­istream [istream]

30.7.4.1.2 Class basic_­istream assign 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().