名稱空間
變體
操作

std::experimental::pmr::polymorphic_allocator<T>::select_on_container_copy_construction

來自 cppreference.com
 
 
 
 
 
polymorphic_allocator select_on_container_copy_construction() const;
(庫基礎 TS)

返回一個預設構造的 polymorphic_allocator 物件。

目錄

[編輯] 引數

(無)

[編輯] 返回值

一個預設構造的 polymorphic_allocator 物件。

[編輯] 註釋

polymorphic_allocator 在容器複製構造時不會傳播。

[編輯] 參閱

獲取複製標準容器後使用的分配器
(std::allocator_traits<Alloc> 的公共靜態成員函式) [編輯]