On this page
std::swap(std::basic_stacktrace)
Defined in header <stacktrace> |
||
|---|---|---|
|
(since C++23) |
Specializes the std::swap algorithm for std::basic_stacktrace. Swaps the contents of lhs and rhs. Equivalent to lhs.swap(rhs);.
Parameters
| lhs, rhs | - | stacktraces whose contents to swap |
Return value
(none)
Complexity
Constant.
Example
See also
| swaps the contents (public member function) |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/utility/basic_stacktrace/swap2