std::swap(std::basic_stacktrace)
From cppreference.com
< cpp | utility | basic stacktrace
C++
Diagnostics library
|
|
std::basic_stacktrace
Member functions | ||||
Iterators | ||||
Capacity | ||||
Element access | ||||
Modifiers | ||||
Non-member functions | ||||
swap(std::basic_stacktrace) | ||||
Helper classes | ||||
Defined in header <stacktrace>
|
||
template
<
class Allocator >
void swap(
std::basic_stacktrace
<Allocator>
& lhs, std::basic_stacktrace
<Allocator>
& rhs )
|
(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
This section is incomplete Reason: no example |
See also
swaps the contents (public member function) |