Espaços nominais
Variantes
Acções

<div class="t-tr-text">C + +: conceitos<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 + + conceitos
Basic
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.
Elementos de contêineres
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.
Números aleatórios
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.
Simultaneidade
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)
Outro
Original:
Other
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
Especifica que uma instância do tipo pode ser cópia construído no local, no armazenamento não inicializado.
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.

[editar] Requisitos

O tipo é T CopyInsertable no X recipiente se, dada
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
o tipo alocador definido como 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
o lvalue de A tipo obtido a partir de 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
o ponteiro de T* tipo preparado pelo contêiner
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
expressão de T tipo, desde que o argumento para 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.
a seguinte expressão é bem formado:
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);

Note que se A é std::allocator<T>, então isso vai chamar-colocação nova, como por ::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.