29 Input/output library [input.output]

29.9 Span-based streams [span.streams]

29.9.5 Class template basic_­ospanstream [ospanstream]

29.9.5.3 Assignment and swap [ospanstream.assign]

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