GSP
Quick Navigator

Search Site

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

Support
Customer Portal
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_ospanstream::swap(3) C++ Standard Libary std::basic_ospanstream::swap(3)

std::basic_ospanstream::swap - std::basic_ospanstream::swap


void swap( basic_ospanstream& other ); (since C++23)


Exchanges the state of the stream with those of other.


This is done by calling std::basic_ostream<CharT, Traits>::swap(other) and swapping
the wrapped std::basic_spanbuf objects (accessible through *rdbuf()).


other - stream to exchange the state with


(none)


May throw implementation-defined exceptions.


This section is incomplete
Reason: no example


swap swaps two basic_spanbuf objects
(C++23) (public member function of std::basic_spanbuf<CharT,Traits>)


* Todo no example

2024.06.10 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.