A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://en.cppreference.com/w/cpp/io/basic_syncbuf/../basic_osyncstream/operator=.html below:

std::basic_osyncstream<CharT,Traits,Allocator>::operator= - cppreference.com

Move-assigns a synchronized output stream:

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; any pending buffered output will be emitted) and move-assigns the base std::basic_ostream (this swaps all stream state variables except for rdbuf between *this and other)

[edit] Parameters other - another synchronized output stream to move from [edit] Return value

*this

[edit] Example [edit] Defect reports

The following behavior-changing defect reports were applied retroactively to previously published C++ standards.

DR Applied to Behavior as published Correct behavior LWG 3867 C++20 the move assignment operator was noexcept, but
std::basic_syncbuf's move assignment operator is not removed noexcept [edit] See also constructs a basic_osyncstream object
(public member function) [edit] destroys the basic_osyncstream and emits its internal buffer
(public member function) [edit] calls emit() on the underlying basic_syncbuf to transmit its internal data to the final destination
(public member function) [edit]

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4