C + + Konzepte: CopyInsertable
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.
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 beiOriginal:
The type
T is CopyInsertable into the container X if, givenThe 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.
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.
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.
You can help to correct and verify the translation. Click here for instructions.
