Namespace
Varianti

<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

Da cppreference.com.
< cpp‎ | concept

 
 
C + + concetti
Di base
Original:
Basic
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Biblioteca-Wide
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.
Container
Original:
Container
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Elementi contenitori
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)
Iterator
Original:
Iterator
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Numeri casuali
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.
Concorrenza
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)
Altro
Original:
Other
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
Specifica che un esempio del tipo può essere copia-costruito sul posto, nella memoria non inizializzata.
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.

[modifica] Requisiti

Il T tipo è CopyInsertable nel X contenitore se, dato
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
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.
la seguente espressione è ben formato:
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);

Si noti che se è A std::allocator<T>, allora questo si chiama posizionamento nuovo, come da ::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.