std::basic_spanbuf<CharT,Traits>::swap

Swaps the state of *this and rhs.

# Declarations

void swap( basic_spanbuf& rhs );

(since C++23)

# Parameters

# Return value

(none)

# Notes

This function is called automatically when swapping stream objects, it is rarely necessary to call it directly.

# Example

This section is incompleteReason: no example

# See also