名前空間
変種
操作

「cpp/container/deque/get allocator」の版間の差分

提供: cppreference.com
< cpp‎ | container‎ | deque
(1版:Translate from the English version)
(r2.7.3) (ロボットによる 追加: de, en, es, fr, it, pt, ru, zh)
1行: 1行:
 
{{page template|cpp/container/get_allocator|deque}}
 
{{page template|cpp/container/get_allocator|deque}}
 +
 +
 +
 +
 +
 +
 +
 +
 +

2012年11月2日 (金) 21:39時点における版

 
 
 
 
allocator_type get_allocator() const;
(C++11未満)
allocator_type get_allocator() const noexcept;
(C++11以上)

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

引数

(なし)

戻り値

関連付けられているアロケータ。

計算量

一定。