28 Input/output library [input.output]

28.10 Synchronized output streams [syncstream]

28.10.2 Class template basic_­syncbuf [syncstream.syncbuf]

28.10.2.6 Specialized algorithms [syncstream.syncbuf.special]

template<class charT, class traits, class Allocator> void swap(basic_syncbuf<charT, traits, Allocator>& a, basic_syncbuf<charT, traits, Allocator>& b) noexcept;
Effects: Equivalent to a.swap(b).