Init
This commit is contained in:
32
cppdraft/ospanstream/swap.md
Normal file
32
cppdraft/ospanstream/swap.md
Normal file
@@ -0,0 +1,32 @@
|
||||
[ospanstream.swap]
|
||||
|
||||
# 31 Input/output library [[input.output]](./#input.output)
|
||||
|
||||
## 31.9 Span-based streams [[span.streams]](span.streams#ospanstream.swap)
|
||||
|
||||
### 31.9.5 Class template basic_ospanstream [[ospanstream]](ospanstream#swap)
|
||||
|
||||
#### 31.9.5.3 Swap [ospanstream.swap]
|
||||
|
||||
[ð](#lib:swap,basic_ospanstream)
|
||||
|
||||
`void swap(basic_ospanstream& rhs);
|
||||
`
|
||||
|
||||
[1](#1)
|
||||
|
||||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L10665)
|
||||
|
||||
*Effects*: Equivalent to:basic_ostream<charT, traits>::swap(rhs);*sb*.swap(rhs.*sb*);
|
||||
|
||||
[ð](#lib:swap,basic_ospanstream_)
|
||||
|
||||
`template<class charT, class traits>
|
||||
void swap(basic_ospanstream<charT, traits>& x, basic_ospanstream<charT, traits>& y);
|
||||
`
|
||||
|
||||
[2](#2)
|
||||
|
||||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L10681)
|
||||
|
||||
*Effects*: Equivalent to x.swap(y)[.](#2.sentence-1)
|
||||
Reference in New Issue
Block a user