名前空間
変種
操作

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

From cppreference.com
 
 
 
 
allocator_type get_allocator() const noexcept;
(C++11以降)

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

[編集] パラメータ

(なし)

[編集] 戻り値

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

[編集] 複雑性

定数。

English 日本語 中文(简体) 中文(繁體)