Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Constructs a specific type of object at a specified address that is initialized with a specified value.
void construct(pointer _Ptr, const Type& _Val);
Parameters
Parameter |
Description |
|---|---|
_Ptr |
A pointer to the location where the object is to be constructed. |
_Val |
The value with which the object being constructed is to be initialized. |
Remarks
This member function is implemented for the user-defined allocator by calling new((void*)_Ptr Type(_Val).
Requirements
Header: <allocators>
Namespace: stdext