std::swap(s...stacktrace)(3)
π NAME π
okay so bestie, welcome to the std::swap(s...stacktrace)(3) page β it lives in the C++ Standard Libary, and the actual NAME is std::swap(std::basic_stacktrace). Yes, that is the whole name. She is literally that. π
π¦ 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);. The (since C++23) is just sitting there in the synopsis like it owns the place, iconic behavior honestly. β¨
πΈ Parameters πΈ
lhs,rhsβ stacktraces whose contents to swap. Thatβs the whole parameter list, and honestly she ate. π«Ά
π Return value π
(none) β nothing comes back, bestie. The swap happens; the return value does not. π
β Complexity β
Constant. Lowkey the most chill complexity line ever β constant, no cap. π
π Example π
This section is incomplete.
Reason: no example.
not me showing up to the function page with no example π
π See also π
swapβ swaps the contents (public member function)
π§ Category π§
* Todo no example
thatβs the whole vibe check, bestie. source: http://cppreference.com; version/date: 2024.06.10; page tag: std::swap(s...stacktrace)(3). stay iconic, fr fr πβ¨
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms