Namespaces
Variants

std::map<Key,T,Compare,Allocator>:: get_allocator

From cppreference.net

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

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

戻り値

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

計算量

定数。