FreeBSD Manual Pages
std::basic_spanbuf::swap(3) C++ Standard Libary std::basic_spanbuf::swap(3) NAME std::basic_spanbuf::swap - std::basic_spanbuf::swap Synopsis void swap( basic_spanbuf& rhs ); (since C++23) Swaps the state of *this and rhs. Calls std::basic_streambuf<Char, Traits>::swap(rhs), swaps the open mode of *this and rhs, and then makes them use the underlying buffer of each other. Parameters rhs - another basic_stringbuf Return value (none) Exceptions May throw implementation-defined exceptions. Notes This function is called automatically when swapping stream objects, it is rarely necessary to call it directly. Example This section is incomplete Reason: no example See also operator= assigns a basic_spanbuf object (C++23) (public member function) swap swaps two basic_ispanstream objects (C++23) (public member function of std::basic_is- panstream<CharT,Traits>) swap swaps two basic_ospanstream objects (C++23) (public member function of std::ba- sic_ospanstream<CharT,Traits>) swap swaps two basic_spanstream objects (C++23) (public member function of std::ba- sic_spanstream<CharT,Traits>) Category: * Todo no example http://cppreference.com 2024.06.10 std::basic_spanbuf::swap(3)
NAME | Synopsis | Parameters | Return value | Exceptions | Notes | Example | See also | Category:
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=std::basic_spanbuf::swap&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>
