<div class="t-tr-text">Concepts 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
De cppreference.com
<metanoindex/>
Indique qu'une instance du type de copie peut être construit sur place, dans le stockage non initialisée .
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.
Exigences
Le T type est CopyInsertable dans le récipient X si, compte tenu
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
|
le type d'affectation définie comme Original: the allocator type defined as The text has been machine-translated via Google Translate. |
m
|
la lvalue de type obtenu à partir Original: the lvalue of type The text has been machine-translated via Google Translate. |
p
|
le pointeur de Original: the pointer of type The text has been machine-translated via Google Translate. |
v
|
expression de Original: expression of type The text has been machine-translated via Google Translate. |
l'expression suivante est bien formé:
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);
Notez que si A est std::allocator<T>, alors ce sera appeler placement nouveau, comme par ::new((void*)p) T(v)
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.