Namespaces
Variants

std::list<T,Allocator>:: get_allocator

From cppreference.net

allocator_type get_allocator ( ) const ;
(C++11以降 noexcept)
(C++26以降 constexpr)

コンテナに関連付けられたアロケータを返します。

戻り値

関連付けられたアロケータ。

計算量

定数。