<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
![]() |
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
You can help to correct and verify the translation. Click here for instructions.
[modifier] Exigences
T
type est CopyInsertable
dans le récipient X
si, compte tenuT
is CopyInsertable
into the container X
if, givenYou can help to correct and verify the translation. Click here for instructions.
A
|
le type d'affectation définie comme
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
|
la lvalue de type obtenu à partir
A 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
|
le pointeur de
T* type préparé par le conteneur 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
|
expression de
T type, à condition que l'argument de push_back (), etc 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. |
You can help to correct and verify the translation. Click here for instructions.
std::allocator_traits<A>::construct(m, p, v);
A
est std::allocator<T>, alors ce sera appeler placement nouveau, comme par ::new((void*)p) T(v)You can help to correct and verify the translation. Click here for instructions.