Scroll to navigation

std::swap(std::basic_stacktrace)(3) C++ Standard Libary std::swap(std::basic_stacktrace)(3)

NAME

std::swap(std::basic_stacktrace) - std::swap(std::basic_stacktrace)

Synopsis


Defined in header <stacktrace>
template< class Allocator >


void swap( std::basic_stacktrace<Allocator>& lhs, (since C++23)
std::basic_stacktrace<Allocator>& rhs )


noexcept(noexcept(lhs.swap(rhs)));


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


swap swaps the contents
(public member function)

Category:


* Todo no example

2024.06.10 http://cppreference.com