std::swap(std::basic_syncbuf) (3) - Linux Manuals

std::swap(std::basic_syncbuf): std::swap(std::basic_syncbuf)

NAME

std::swap(std::basic_syncbuf) - std::swap(std::basic_syncbuf)

Synopsis


template< class CharT, class Traits, class Allocator >
void swap( std::basic_syncbuf<CharT, Traits, Allocator>& lhs, (since C++20)
std::basic_syncbuf<CharT, Traits, Allocator>& rhs ) noexcept;


Overloads the std::swap algorithm for std::basic_syncbuf. Exchanges the state of lhs with that of rhs. Effectively calls lhs.swap(rhs).

Parameters


lhs, rhs - std::basic_syncbuf objects whose states to swap

Return value


(none)

Example


 This section is incomplete
 Reason: no example

See also


     swaps two basic_syncbuf objects
swap (public member function)
     swaps the values of two objects
swap (function template)