std::pmr::polymorphic_allocator<T>:: select_on_container_copy_construction
提供: cppreference.com
< cpp | memory | polymorphic allocator
polymorphic_allocator select_on_container_copy_construction() const; |
(C++17以上) | |
デフォルト構築された polymorphic_allocator
オブジェクトを返します。
目次 |
[編集] 引数
(なし)
[編集] 戻り値
デフォルト構築された polymorphic_allocator
オブジェクト。
[編集] ノート
polymorphic_allocator
はコンテナのコピー構築時に伝播しません。
[編集] 関連項目
標準コンテナをコピーした後で使用するためのアロケータを取得します ( std::allocator_traits<Alloc> のパブリック静的メンバ関数)
|