名前空間
変種
操作

std::scoped_allocator_adaptor::select_on_container_copy_construction

提供: cppreference.com

 
 
動的メモリ管理
未初期化記憶域
(C++17)
ガベージコレクションサポート
その他
(C++20)
(C++11)
(C++11)
C のライブラリ
低水準のメモリ管理
 
std::scoped_allocator_adaptor
メンバ関数
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
scoped_allocator_adaptor::select_on_container_copy_construction
非メンバ関数
Original:
Non-member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
ヘッダ <scoped_allocator> で定義
scoped_allocator_adaptor select_on_container_copy_construction() const
(C++11およびそれ以降)
外側のアロケータ基本クラスのトピックおよび各内部アロケータサブオブジェクトがstd::scoped_allocator_adaptorを呼び出して取得しますstd::allocator_traits<A>::select_on_container_copy_construction()の新しいインスタンスを作成します。.
Original:
Creates a new instance of std::scoped_allocator_adaptor, where the outer allocator base class and each inner allocator subobject are obtained by calling std::allocator_traits<A>::select_on_container_copy_construction().
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集] パラメータ

(なし)

[編集] 値を返します

正しくコピーされたアロケータによって構築される新しいstd::scoped_allocator_adaptorオブジェクト、.
Original:
A new std::scoped_allocator_adaptor object, constructed from correctly copied allocators.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集] 参照

標準コンテナをコピーした後で使用するアロケータを取得します
Original:
obtains the allocator to use after copying a standard container
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(std::allocator_traitsのパブリック静的メンバ関数) [edit]