cppreference.com
アカウント作成
ログイン
名前空間
ページ
議論
変種
表示
閲覧
編集
履歴
操作
std::list<T,Allocator>::
get_allocator
提供: cppreference.com
<
cpp
|
container
|
list
[edit template]
C++
言語
標準ライブラリヘッダ
フリースタンディング処理系とホスト処理系
名前付き要件
言語サポートライブラリ
コンセプトライブラリ
(C++20)
診断ライブラリ
ユーティリティライブラリ
文字列ライブラリ
コンテナライブラリ
イテレータライブラリ
範囲ライブラリ
(C++20)
アルゴリズムライブラリ
数値演算ライブラリ
ローカライゼーションライブラリ
入出力ライブラリ
ファイルシステムライブラリ
(C++17)
正規表現ライブラリ
(C++11)
アトミック操作ライブラリ
(C++11)
スレッドサポートライブラリ
(C++11)
技術仕様書
[edit]
コンテナライブラリ
array
(C++11)
vector
deque
forward_list
(C++11)
list
set
multiset
map
multimap
unordered_set
(C++11)
unordered_multiset
(C++11)
unordered_map
(C++11)
unordered_multimap
(C++11)
stack
queue
priority_queue
span
(C++20)
[edit]
std::list
メンバ関数
list::list
list::~list
list::operator=
list::assign
list::get_allocator
要素アクセス
list::front
list::back
イテレータ
list::begin
list::cbegin
(C++11)
list::end
list::cend
(C++11)
list::rbegin
list::crbegin
(C++11)
list::rend
list::crend
(C++11)
容量
list::empty
list::size
list::max_size
変更
list::clear
list::insert
list::emplace
(C++11)
list::erase
list::push_front
list::emplace_front
(C++11)
list::pop_front
list::push_back
list::emplace_back
(C++11)
list::pop_back
list::resize
list::swap
操作
list::merge
list::splice
list::remove
list::remove_if
list::reverse
list::unique
list::sort
非メンバ関数
std::swap
erase
erase_if
(C++20)
(C++20)
operator==
operator!=
operator<
operator>
operator<=
operator>=
operator<=>
(C++20未満)
(C++20未満)
(C++20未満)
(C++20未満)
(C++20未満)
(C++20)
推定ガイド
(C++17)
[edit]
allocator_type get_allocator
(
)
const
;
(C++11未満)
allocator_type get_allocator
(
)
const
noexcept
;
(C++11以上)
コンテナに関連付けられているアロケータを返します。
[
編集
]
引数
(なし)
[
編集
]
戻り値
関連付けられているアロケータ。
[
編集
]
計算量
一定。