Namespaces
Variants

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

From cppreference.net

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

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

戻り値

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

計算量

定数。