<div class="t-tr-text">C + +: concetti<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
|
|
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
<metanoindex/>
You can help to correct and verify the translation. Click here for instructions.
Requisiti
T tipo è CopyInsertable nel X contenitore se, datoT is CopyInsertable into the container X if, givenYou can help to correct and verify the translation. Click here for instructions.
A
|
del tipo definito come allocatore
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
|
il valore assegnabile di
A tipo ottenuto da 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
|
il puntatore di tipo
T* preparato dal contenitore 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
|
espressione di
T tipo, a condizione che come argomento di push_back (), ecc 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 std::allocator<T>, allora questo si chiama posizionamento nuovo, come da ::new((void*)p) T(v)A is std::allocator<T>, then this will call placement-new, as by ::new((void*)p) T(v)You can help to correct and verify the translation. Click here for instructions.