名前空間
変種
操作

<div class="t-tr-text">C + +の概念:<div class="t-tr-dropdown"><div><div><div class="t-tr-dropdown-arrow-border"></div><div class="t-tr-dropdown-arrow"></div><div class="t-tr-dropdown-h">Original:</div><div class="t-tr-dropdown-orig">C++ concepts:</div><div class="t-tr-dropdown-notes">The text has been machine-translated via [http://translate.google.com Google Translate].<br/> You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.</div></div></div></div></div> CopyInsertable

提供: cppreference.com
< cpp‎ | concept

 
 
C + +の概念
基本
Original:
Basic
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
ライブラリワイド
Original:
Library-Wide
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
コンテナ
Original:
Container
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
コンテナ要素
Original:
Container Elements
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
CopyInsertable(C++11)
MoveInsertable(C++11)
イテレータ
Original:
Iterator
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
乱数
Original:
Random Numbers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
同時実行
Original:
Concurrency
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
BasicLockable(C++11)
Lockable(C++11)
TimedLockable(C++11)
Mutex(C++11)
TimedMutex(C++11)
その他
Original:
Other
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
型のインスタンスが初期化されていないストレージに、その場でコピーを構築することができることを指定します.
Original:
Specifies that an instance of the type can be copy-constructed in-place, in uninitialized storage.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[編集] 要件

与えられた、場合、型TCopyInsertableコンテナXになります
Original:
The type T is CopyInsertable into the container X if, given
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
A
X::allocator_typeとして定義されたアロケータ型
Original:
the allocator type defined as X::allocator_type
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
m
タイプAのlvalueはX::get_allocator()から得られた
Original:
the lvalue of type A obtained from X::get_allocator()
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
p
型のポインタT*コンテナによって作成した
Original:
the pointer of type T* prepared by the container
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
v
一back()に引数として提供される型Tの発現等
Original:
expression of type T, provided as the argument to push_back(), etc
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
次の式は、整形式である:
Original:
the following expression is well-formed:
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<A>::construct(m, p, v);

注意してください場合Astd::allocator<T>である場合、このよう::new((void*)p) T(v)によって、配置-newを呼び出します
Original:
Note that if A is std::allocator<T>, then this will call placement-new, as by ::new((void*)p) T(v)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.