GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
std::basic_syncbuf::operator=(3) C++ Standard Libary std::basic_syncbuf::operator=(3)

std::basic_syncbuf::operator= - std::basic_syncbuf::operator=


basic_syncbuf& operator=(basic_syncbuf&& other);


First, calls emit() to transmit all pending output (and delayed flush, if any) to
the wrapped stream.


Then performs move-assignment by moving all contents from other, including the
temporary storage, the wrapped stream pointer, policy, and all other state (such as
the mutex pointer). After move, other is not associated with a stream, and
other.get_wrapped()==nullptr. The put area member pointers of the base class
std::basic_streambuf of other are guaranteed to be null. Destroying a moved-from
other will not produce any output.


If std::allocator_traits<Allocator>::propagate_on_container_move_assignment::value
is false, then the allocator is unchanged. Otherwise, after move-assignment,
get_allocator() equals other.get_allocator().


other - another std::basic_syncbuf to move from


*this


This section is incomplete
Reason: no example


assigns a basic_osyncstream
operator= (public member function of
std::basic_osyncstream<CharT,Traits,Allocator>)
constructor constructs a basic_syncbuf object
(public member function)
atomically transmits the entire internal buffer to the wrapped
emit streambuf
(public member function)
swap swaps two basic_syncbuf objects
(public member function)

2022.07.31 http://cppreference.com

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.