Namespaces
Variants

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

From cppreference.net

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

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

戻り値

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

計算量

定数。