W3cubDocs

/C++

std::basic_syncbuf::swap

void swap( basic_syncbuf& other ) noexcept;

Exchanges the contents of the sync stream buffer with those of other.

Parameters

other - sync stream buffer to exchange contents with

Return value

(none).

Example

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/io/basic_syncbuf/swap