29 Input/output library [input.output]

29.9 Span-based streams [span.streams]

29.9.6 Class template basic_­spanstream [spanstream]

29.9.6.3 Assignment and swap [spanstream.assign]

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