Espaces de noms
Variantes
Actions

Gestion dynamique de la mémoire

De cppreference.com
< cpp
 
 
 
La gestion dynamique de la mémoire
Faible niveau de gestion de la mémoire
Répartiteurs
Original:
Allocators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
allocator
allocator_traits (C++11)
allocator_arg_t (C++11)
allocator_arg (C++11)
uses_allocator (C++11)
scoped_allocator_adaptor (C++11)
Non initialisée stockage
Original:
Uninitialized storage
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
uninitialized_copy
uninitialized_copy_n (C++11)
uninitialized_fill
uninitialized_fill_n
raw_storage_iterator
get_temporary_buffer
return_temporary_buffer
Pointeurs intelligents
Original:
Smart pointers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
unique_ptr (C++11)
shared_ptr (C++11)
weak_ptr (C++11)
auto_ptr (obsolète)
owner_less (C++11)
enable_shared_from_this (C++11)
bad_weak_ptr (C++11)
default_delete (C++11)
Soutien garbage collection
Original:
Garbage collection support
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
declare_reachable (C++11)
undeclare_reachable (C++11)
declare_no_pointers (C++11)
undeclare_no_pointers (C++11)
pointer_safety (C++11)
get_pointer_safety (C++11)
Divers
Original:
Miscellaneous
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
pointer_traits (C++11)
addressof (C++11)
align (C++11)
Bibliothèque C
Original:
C Library
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 

Sommaire

[modifier]Pointeurs intelligents

Les pointeurs intelligents permettent la gestion automatique et robuste de la durée de vie d'un objet.

Defined in header <memory>
Catégories de pointeurs
(C++11)
pointeur intelligent avec sémantique de propriétaire unique
(classe générique)[edit]
(C++11)
pointeur intelligent avec sémantique de propriétaires partagés
(classe générique)[edit]
(C++11)
référence faible à un objet géré par std::shared_ptr
Original:
weak reference to an object managed by std::shared_ptr
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(classe générique)[edit]
(obsolète)
pointeur intelligent avec sémantique stricte propriété de l'objet
Original:
smart pointer with strict object ownership semantics
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(classe générique)[edit]
Classes d'aide
(C++11)
offre mixte de type propriétaire-base ordonnancement des pointeurs partagés et faible
Original:
provides mixed-type owner-based ordering of shared and weak pointers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(classe générique)[edit]
permet à un objet de créer un shared_ptr faisant référence à lui-même
(classe générique)[edit]
Exception levée lorsque l'on accède à un weak_ptr qui se réfère à un objet détruit
(classe)[edit]
destructeur par défaut d'unique_ptr
(classe générique)[edit]

[modifier]Allocateurs

Les allocateurs sont des classes génériques encapsulant la stratégie d'allocation de mémoire. Cela permet de découpler les conteneurs génériques de gestion de la mémoire des données elles-mêmes.

Defined in header <memory>
l'allocateur par défaut
Original:
the default allocator
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(classe générique)[edit]
fournit des informations sur les types d'allocateur
(classe générique)[edit]
type de variable utilisé pour sélectionner surcharges de constructeur allocateur-aware
Original:
tag type used to select allocator-aware constructor overloads
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(classe)[edit]
un objet de std::allocator_arg_t type utilisé pour sélectionner allocateur-aware constructeurs
Original:
an object of type std::allocator_arg_t used to select allocator-aware constructors
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(constante)[edit]
vérifie si le type spécifié prend en charge les utilisations-allocateur de construction
Original:
checks if the specified type supports uses-allocator construction
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(classe générique)[edit]
Defined in header <scoped_allocator>
met en oeuvre plusieurs niveaux d'affectation de niveaux multiples récipients
Original:
implements multi-level allocator for multi-level containers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(classe générique)[edit]

[modifier]Allocation brute

Plusieurs utilitaires sont fournis pour créer et accéder au stockage brut.

Defined in header <memory>
Copie une série d'objets dans une zone non initialisée de la mémoire
Original:
copies a range of objects to an uninitialized area of memory
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction générique)[edit]
copie un certain nombre d'objets dans une zone non initialisée de la mémoire
Original:
copies a number of objects to an uninitialized area of memory
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction générique)[edit]
copie un objet dans une zone non initialisée de la mémoire
Original:
copies an object to an uninitialized area of memory
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction générique)[edit]
copie un objet dans une zone non initialisée de la mémoire
Original:
copies an object to an uninitialized area of memory
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction générique)[edit]
un itérateur qui permet algorithmes standard pour stocker les résultats dans la mémoire non initialisée
Original:
an iterator that allows standard algorithms to store results in uninitialized memory
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(classe générique)[edit]
obtient de stockage non initialisée
Original:
obtains uninitialized storage
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction générique)[edit]
libère de stockage non initialisée
Original:
frees uninitialized storage
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction générique)[edit]

[modifier]Soutien garbage collector

Defined in header <memory>
déclare qu'un objet ne peut pas être recyclé
Original:
declares that an object can not be recycled
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction)[edit]
déclare un objet peut être recyclé
Original:
declares that an object can be recycled
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction générique)[edit]
déclare qu'une zone mémoire ne contient pas de pointeurs traçables
Original:
declares that a memory area does not contain traceable pointers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction)[edit]
annule l'effet de std::declare_no_pointers
Original:
cancels the effect of std::declare_no_pointers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction)[edit]
énumère les modèles de sécurité pointeur
Original:
lists pointer safety models
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(classe)[edit]
renvoie le pointeur courant modèle de sécurité
Original:
returns the current pointer safety model
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction)[edit]

[modifier]Divers

Defined in header <memory>
fournit des informations sur les types de pointeur en forme
Original:
provides information about pointer-like types
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(classe générique)[edit]
(C++11)
obtient l'adresse réelle d'un objet, même si l'opérateur & est surchargé
Original:
obtains actual address of an object, even if the & operator is overloaded
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction générique)[edit]
(C++11)
aligne un pointeur dans un tampon
Original:
aligns a pointer in a buffer
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(fonction)[edit]

[modifier]Gestion de la mémoire style C

Comprend, par exemple, std::malloc, std::free

[modifier]Gestion de la mémoire de bas niveau

Comprend, par exemple, operator new, operator delete, std::set_new_handler

close