◐ Shell
clean mode source ↗

Low level memory management — cppreference.com

De cppreference.com

<metanoindex/>

Le nouvelle expression est la seule façon de créer un objet ou un tableau d'objets avec la durée de stockage dynamique, c'est-à durée de vie ne se limite pas à la portée dans laquelle il est créé. Une nouvelle expression de stockage obtient en appelant une fonction de répartition. Un delete-expression détruit un objet le plus dérivé ou un tableau créé par une nouvelle expression et appelle la fonction de désallocation. L'allocation par défaut et les fonctions de désallocation, ainsi que des fonctions connexes, les types et les objets, sont déclarés dans l'en-tête <new> .

Original:

The nouvelle expression is the only way to create an object or an array of objects with dynamic storage duration, that is, with lifetime not restricted to the scope in which it is created. A new-expression obtains storage by calling an allocation function. A delete-expression destroys a most derived object or an array created by a new-expression and calls the deallocation function. The default allocation and deallocation functions, along with related functions, types, and objects, are declared in the header <new>.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Defined in header <new>

Fonctions

Original:

Functions

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

fonctions d'allocation

Original:

allocation functions

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction) [edit]

fonctions de désallocation

Original:

deallocation functions

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction) [edit]

obtient le gestionnaire courant nouveau

Original:

obtains the current new handler

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction) [edit]

enregistre un nouveau gestionnaire

Original:

registers a new handler

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction) [edit]

Classes

Original:

Classes

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Exception levée lorsque l'allocation de mémoire échoue

Original:

exception thrown when memory allocation fails

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe) [edit]

exception levée sur l'allocation d'un tableau de longueur nulle

Original:

exception thrown on allocation of array with invalid length

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe) [edit]

type de variable utilisé pour sélectionner une fonction non jets de répartition

Original:

tag type used to select an non-throwing allocation function

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe) [edit]

Types

Original:

Types

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Type de pointeur de fonction du nouveau gestionnaire

Original:

function pointer type of the new handler

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(typedef) [edit]

Objets

Original:

Objects

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

un objet de type nothrow_t utilisé pour sélectionner une fonction non jets de répartition

Original:

an object of type nothrow_t used to select an non-throwing allocation function

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(constante) [edit]