boost::burl::request_head::swap
Swap the contents.
Synopsis
Declared in <boost/burl/request_head.hpp>
void
swap(request_head& other) noexcept;
Description
The contents of the two headers are exchanged. No allocation occurs and no bytes are copied.
Views obtained from either header remain valid; they follow the contents into the other header. Iterators are invalidated: an iterator stays bound to the header it was obtained from, which now holds different fields.
If this == &other, this function call has no effect.
Parameters
Name |
Description |
other |
The header to swap with. |
Created with MrDocs