27
Input/output library
[input.output]
27.10
Synchronized output streams
[syncstream]
27.10.3
Class template
basic_osyncstream
[syncstream.osyncstream]
27.10.3.3
Assignment
[syncstream.osyncstream.assign]
🔗
basic_osyncstream& operator=(basic_osyncstream&& rhs) noexcept;
1
#
Effects:
First, calls
emit()
.
If an exception is thrown from
emit()
, that exception is caught and ignored
.
Move assigns
sb
from
rhs.sb
.
[
 
Note
:
This disassociates
rhs
from its wrapped stream buffer ensuring destruction of
rhs
produces no output
.
—
 
end note
 
]
2
#
Ensures:
nullptr == rhs.get_wrapped()
is
true
.
get_wrapped()
returns the value previously returned by
rhs.get_wrapped()
.