29 Input/output library [input.output]

29.9 Span-based streams [span.streams]

29.9.4 Class template basic_­ispanstream [ispanstream]

29.9.4.3 Assignment and swap [ispanstream.assign]

void swap(basic_ispanstream& rhs);
Effects: Equivalent to: basic_istream<charT, traits>::swap(rhs); sb.swap(rhs.sb);
template<class charT, class traits> void swap(basic_ispanstream<charT, traits>& x, basic_ispanstream<charT, traits>& y);
Effects: Equivalent to x.swap(y).