[syncstream.syncbuf.special] # 31 Input/output library [[input.output]](./#input.output) ## 31.11 Synchronized output streams [[syncstream]](syncstream#syncbuf.special) ### 31.11.2 Class template basic_syncbuf [[syncstream.syncbuf]](syncstream.syncbuf#special) #### 31.11.2.6 Specialized algorithms [syncstream.syncbuf.special] [🔗](#lib:swap,basic_syncbuf) `template void swap(basic_syncbuf& a, basic_syncbuf& b); ` [1](#1) [#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L12908) *Effects*: Equivalent to a.swap(b)[.](#1.sentence-1)