C + + Konzepte: CopyInsertable – cppreference.com
Aus cppreference.com
<metanoindex/>
Gibt an, dass eine Instanz des Typs kann copy-gebaut in-place, in initialisierten Speicher .
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.
Anforderungen
Der Typ ist T CopyInsertable in den Behälter X wenn bei
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
|
die Zuordnungsvorrichtung Typ wie Original: the allocator type defined as The text has been machine-translated via Google Translate. |
m
|
der L-Wert des Typs Original: the lvalue of type The text has been machine-translated via Google Translate. |
p
|
der Zeiger vom Typ Original: the pointer of type The text has been machine-translated via Google Translate. |
v
|
Ausdruck des Typs Original: expression of type The text has been machine-translated via Google Translate. |
Der folgende Ausdruck ist gut gebildet:
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);
Beachten Sie, dass, wenn A ist std::allocator<T>, dann rufen placement-neue, wie ::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.