# std::basic_stacktrace<Allocator>::get_allocator

From cppreference.com
< cpp‎ | utility‎ | basic stacktrace

allocator_type get_allocator() const noexcept; |  | (since C++23)

Returns the allocator associated with the `basic_stacktrace`.

### Parameters

(none)

### Return value

The associated allocator.

### Complexity

Constant.

Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/utility/basic_stacktrace/get_allocator&oldid=129146"