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_ostringstream::swap(3) C++ Standard Libary std::basic_ostringstream::swap(3)

std::basic_ostringstream::swap - std::basic_ostringstream::swap


void swap( basic_ostringstream& other ); (since C++11)


Exchanges the state of the stream with those of other.


This is done by calling basic_ostream<CharT, Traits>::swap(other) and
rdbuf()->swap(*other.rdbuf()).


other - stream to exchange the state with


(none)


May throw implementation-defined exceptions.


This section is incomplete
Reason: no example


operator= moves the string stream
(C++11) (public member function)
swap swaps two basic_stringbuf objects
(C++11) (public member function of std::basic_stringbuf<CharT,Traits,Allocator>)

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.