31 Input/output library [input.output]

31.9 Span-based streams [span.streams]

31.9.5 Class template basic_ospanstream [ospanstream]

31.9.5.3 Swap [ospanstream.swap]

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