29 Input/output library [input.output]

29.11 Synchronized output streams [syncstream]

29.11.2 Class template basic_­syncbuf [syncstream.syncbuf]

29.11.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);
Effects: Equivalent to a.swap(b).