7 captures
02 Dec 2017 - 16 May 2025
Dec
JUL
Nov
31
2017
2021
2022
success
fail
About this capture
COLLECTED BY
Collection:
Common Crawl
Web crawl data from Common Crawl.
TIMESTAMPS
The Wayback Machine - https://web.archive.org/web/20210731090823/https://en.cppreference.com/w/cpp/io/basic_syncbuf/swap
cppreference.com
Create account
Log in
Namespaces
Page
Discussion
Variants
Views
View
Edit
History
Actions
std::basic_syncbuf<CharT,Traits,Allocator>::
swap
From cppreference.com
<
cpp
|
io
|
basic syncbuf
C++
Language
Standard Library Headers
Freestanding and hosted implementations
Named requirements
Language support library
Concepts library
(C++20)
Diagnostics library
Utilities library
Strings library
Containers library
Iterators library
Ranges library
(C++20)
Algorithms library
Numerics library
Localizations library
Input/output library
Filesystem library
(C++17)
Regular expressions library
(C++11)
Atomic operations library
(C++11)
Thread support library
(C++11)
Technical Specifications
[edit]
Input/output library
I/O manipulators
C-style I/O
Buffers
basic_streambuf
basic_filebuf
basic_stringbuf
basic_spanbuf
(C++23)
strstreambuf
(deprecated in C++98)
basic_syncbuf
(C++20)
Streams
Abstractions
ios_base
basic_ios
basic_istream
basic_ostream
basic_iostream
File I/O
basic_ifstream
basic_ofstream
basic_fstream
String I/O
basic_istringstream
basic_ostringstream
basic_stringstream
Array I/O
basic_ispanstream
(C++23)
basic_ospanstream
(C++23)
basic_spanstream
(C++23)
istrstream
(deprecated in C++98)
ostrstream
(deprecated in C++98)
strstream
(deprecated in C++98)
Synchronized Output
basic_osyncstream
(C++20)
Types
streamoff
streamsize
fpos
Error category interface
iostream_category
(C++11)
io_errc
(C++11)
[edit]
std::basic_syncbuf
Public member functions
basic_syncbuf::basic_syncbuf
basic_syncbuf::operator=
basic_syncbuf::~basic_syncbuf
basic_syncbuf::swap
basic_syncbuf::emit
basic_syncbuf::get_wrapped
basic_syncbuf::get_allocator
basic_syncbuf::set_emit_on_sync
Protected member functions
basic_syncbuf::sync
Non-member functions
swap
(std::basic_syncbuf)
[edit]
void
swap
(
basic_syncbuf
&
other
)
noexcept
;
Exchanges the contents of the sync stream buffer with those of
other
.
[
edit
]
Parameters
other
-
sync stream buffer to exchange contents with
[
edit
]
Return value
(none)
[
edit
]
Example
This section is incomplete
Reason: no example
Category
:
Todo no example