Template:cpp/io/basic spanstream/swap

Exchanges the state of the stream with those of.

This is done by calling and swapping the wrapped std objects (accessible through ).

Return value
(none)