# std::basic_stacktrace<Allocator>::~basic_stacktrace

> C++ Atlas: `cppatlas.com/w/cpp/utility/basic_stacktrace/~basic_stacktrace` | Source: https://en.cppreference.com/w/cpp/utility/basic_stacktrace/~basic_stacktrace | Domain: Utility | Standards: C++23

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

## Official Specification Summary (cppreference)

```cpp
~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`.

---
Attribution: content from https://en.cppreference.com/w/cpp/utility/basic_stacktrace/~basic_stacktrace (cppreference.com), licensed under CC-BY-SA 3.0 and GFDL. Modified: converted to markdown, study notes added. Offline snapshot of 9 February 2025.