std::basic_osyncstream<CharT,Traits,Allocator>::operator= (3) - Linux Manuals
std::basic_osyncstream<CharT,Traits,Allocator>::operator=: std::basic_osyncstream<CharT,Traits,Allocator>::operator=
Command to display std::basic_osyncstream<CharT,Traits,Allocator>::operator=
manual in Linux: $ man 3 std::basic_osyncstream<CharT,Traits,Allocator>::operator=
NAME
std::basic_osyncstream<CharT,Traits,Allocator>::operator= - std::basic_osyncstream<CharT,Traits,Allocator>::operator=
Synopsis
basic_osyncstream& operator=( std::basic_osyncstream&& other) noexcept;
Move-assigns a synchronized output stream:
First, calls emit(). If an exception is thrown by the call to emit(), it is caught and ignored.
Then, move-assigns the wrapped std::basic_syncbuf from the corresponding member of other (after this move-assignment, other.get_wrapped() returns a null pointer and destruction of other produces no output) and move-assigns the base std::basic_ostream (this swaps all stream state variables except for rdbuf between *this and other)
Parameters
other - another osyncstream to move from
Example
This section is incomplete
Reason: no example
See also
constructs a basic_osyncstream
constructor (public member function)
destroys the basic_osyncstream and emits its internal buffer
destructor (public member function)
calls emit on the underlying basic_syncbuf to transmit its internal data to the final destination
emit (public member function)
Pages related to std::basic_osyncstream<CharT,Traits,Allocator>::operator=
- std::basic_osyncstream<CharT,Traits,Allocator>::basic_osyncstream (3) - std::basic_osyncstream<CharT,Traits,Allocator>::basic_osyncstream
- std::basic_osyncstream<CharT,Traits,Allocator>::emit (3) - std::basic_osyncstream<CharT,Traits,Allocator>::emit
- std::basic_osyncstream<CharT,Traits,Allocator>::get_wrapped (3) - std::basic_osyncstream<CharT,Traits,Allocator>::get_wrapped
- std::basic_osyncstream<CharT,Traits,Allocator>::rdbuf (3) - std::basic_osyncstream<CharT,Traits,Allocator>::rdbuf
- std::basic_osyncstream<CharT,Traits,Allocator>::~basic_osyncstream (3) - std::basic_osyncstream<CharT,Traits,Allocator>::~basic_osyncstream
- std::basic_osyncstream (3) - std::basic_osyncstream
- std::basic_ostream (3) - std::basic_ostream
- std::basic_ostream<CharT,Traits>::basic_ostream (3) - std::basic_ostream<CharT,Traits>::basic_ostream
- std::basic_ostream<CharT,Traits>::flush (3) - std::basic_ostream<CharT,Traits>::flush
- std::basic_ostream<CharT,Traits>::operator<< (3) - std::basic_ostream<CharT,Traits>::operator<<
- std::basic_ostream<CharT,Traits>::operator= (3) - std::basic_ostream<CharT,Traits>::operator=
- std::basic_ostream<CharT,Traits>::put (3) - std::basic_ostream<CharT,Traits>::put
- std::basic_ostream<CharT,Traits>::seekp (3) - std::basic_ostream<CharT,Traits>::seekp
- std::basic_ostream<CharT,Traits>::sentry (3) - std::basic_ostream<CharT,Traits>::sentry
- std::basic_ostream<CharT,Traits>::swap (3) - std::basic_ostream<CharT,Traits>::swap
- std::basic_ostream<CharT,Traits>::tellp (3) - std::basic_ostream<CharT,Traits>::tellp
- std::basic_ostream<CharT,Traits>::write (3) - std::basic_ostream<CharT,Traits>::write