std::allocator::construct
De cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
<metanoindex/>
<tbody> </tbody>| Déclaré dans l'en-tête <memory>
|
||
void construct( pointer p, const_reference val ); |
(avant C++11) | |
template< class U, class... Args > void construct( U* p, Args&&... args ); |
(depuis C++11) | |
Construit un objet de type
T de stockage alloué non initialisée pointé par p, en utilisant le placement neufOriginal:
Constructs an object of type
T in allocated uninitialized storage pointed to by p, using placement-newThe text has been machine-translated via