40 lines
1.0 KiB
Markdown
40 lines
1.0 KiB
Markdown
[ostream.assign]
|
||
|
||
# 31 Input/output library [[input.output]](./#input.output)
|
||
|
||
## 31.7 Formatting and manipulators [[iostream.format]](iostream.format#ostream.assign)
|
||
|
||
### 31.7.6 Output streams [[output.streams]](output.streams#ostream.assign)
|
||
|
||
#### 31.7.6.2 Class template basic_ostream [[ostream]](ostream#assign)
|
||
|
||
#### 31.7.6.2.3 Assignment and swap [ostream.assign]
|
||
|
||
[ð](#lib:operator=,basic_ostream)
|
||
|
||
`basic_ostream& operator=(basic_ostream&& rhs);
|
||
`
|
||
|
||
[1](#1)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L6164)
|
||
|
||
*Effects*: Equivalent to swap(rhs)[.](#1.sentence-1)
|
||
|
||
[2](#2)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L6168)
|
||
|
||
*Returns*: *this[.](#2.sentence-1)
|
||
|
||
[ð](#lib:swap,basic_ostream)
|
||
|
||
`void swap(basic_ostream& rhs);
|
||
`
|
||
|
||
[3](#3)
|
||
|
||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L6179)
|
||
|
||
*Effects*: Calls basic_ios<charT, traits>::swap(rhs)[.](#3.sentence-1)
|