31 Input/output library [input.output]

31.9 Span-based streams [span.streams]

31.9.4 Class template basic_ispanstream [ispanstream]

31.9.4.3 Swap [ispanstream.swap]

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).