跳到主要内容

std::allocator<T>::~allocator

直到 C++20
~allocator();
自 C++20 起
constexpr ~allocator();

销毁默认分配器。

std::allocator<T>::~allocator

直到 C++20
~allocator();
自 C++20 起
constexpr ~allocator();

销毁默认分配器。