31 Input/output library [input.output]

31.9 Span-based streams [span.streams]

31.9.6 Class template basic_spanstream [spanstream]

31.9.6.3 Swap [spanstream.swap]

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