cpp / latest / utility / basic_stacktrace / ~basic_stacktrace.html /

std::basic_stacktrace<Allocator>::~basic_stacktrace

~basic_stacktrace();
(since C++23)

Destructs the basic_stacktrace. The destructors of the std::stacktrace_entry objects it holds are called and the used storage is deallocated.

Complexity

Linear in the size of the basic_stacktrace.

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/utility/basic_stacktrace/%7Ebasic_stacktrace