std::scoped_allocator_adaptor<OuterAlloc,InnerAlloc...>:: select_on_container_copy_construction
From cppreference.com
< cpp | memory | scoped allocator adaptor
| ヘッダ <scoped_allocator> で定義 |
||
| scoped_allocator_adaptor select_on_container_copy_construction() const; |
(C++11以降) | |
std::scoped_allocator_adaptorの新しいインスタンスを作成します。このインスタンスでは、外側のallocator基底クラスと各内側のallocatorサブオブジェクトは、std::allocator_traits<A>::select_on_container_copy_construction()を呼び出すことによって取得されます。
[編集] パラメータ
(なし)
[編集] 戻り値
正しくコピーされたallocatorから構築された、新しいstd::scoped_allocator_adaptorオブジェクト。
[編集] 関連項目
| 標準コンテナのコピー後に使用するアロケータを取得する ( std::allocator_traits<Alloc>のpublic staticメンバ関数) |