◐ Shell
clean mode source ↗

Dynamic memory management - cppreference.com

Da cppreference.com.

Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.

La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui.

Click here for the English version of this page

Puntatori intelligenti

Puntatori intelligenti consentono automatico, sicuro rispetto alle eccezioni, gestione degli oggetti durata.

Original:

Smart pointers enable automatic, exception-safe, object lifetime management.

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

Definizione nell'header <memory>

Pointer categorie

Original:

Pointer categories

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

puntatore intelligente con la semantica degli oggetti di proprietà uniche

Original:

smart pointer with unique 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 template) [modifica]
smart pointer with shared object ownership semantics
(classe template) [modifica]

(C++11)

riferimento debole a un oggetto gestito da 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 template) [modifica]

(deprecato)

puntatore intelligente con semantica rigida proprietà degli oggetti

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 template) [modifica]

Helper classi

Original:

Helper classes

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

fornisce di tipo misto proprietario basato su ordinamento di puntatori condivisi e debole

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 template) [modifica]

consente un oggetto per creare un shared_ptr riferisce a se stessa

Original:

allows an object to create a shared_ptr referring to itself

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


(classe template) [modifica]

Eccezione generata quando si accede a un weak_ptr che si riferisce ad oggetto già distrutto

Original:

exception thrown when accessing a weak_ptr which refers to already destroyed object

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


(classe) [modifica]

predefinito deleter per unique_ptr

Original:

default deleter for unique_ptr

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


(classe template) [modifica]

Allocatori

Allocators sono modelli di classi che incapsulano strategia di allocazione della memoria. Questo permette contenitori generici di separare la gestione della memoria dei dati stessi.

Original:

Allocators are class templates encapsulating memory allocation strategy. This allows generic containers to decouple memory management from the data itself.

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

Definizione nell'header <memory>

the default allocator
(classe template) [modifica]

fornisce informazioni sui tipi di allocatore

Original:

provides information about allocator types

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


(classe template) [modifica]

tipo di tag utilizzato per selezionare allocatore-aware overload del costruttore

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) [modifica]

un oggetto di std::allocator_arg_t tipo usato per selezionare allocatore-aware costruttori

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.


(costante) [modifica]

controlla se il tipo specificato supporta usi-allocatore di costruzione

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 template) [modifica]

Definizione nell'header <scoped_allocator>

implementa multilivello allocatore per contenitori multi-livello

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 template) [modifica]

Non inizializzata stoccaggio

Programmi di utilità sono forniti diversi per creare e accedere storage raw

Original:

Several utilities are provided to create and access raw storage

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

Definizione nell'header <memory>

copia una serie di oggetti in una zona di memoria non inizializzata

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.


(funzione di modello) [modifica]

copia un numero di oggetti da una zona di memoria non inizializzata

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.


(funzione di modello) [modifica]

copia di un oggetto ad una zona di memoria non inizializzata

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.


(funzione di modello) [modifica]

copia di un oggetto ad una zona di memoria non inizializzata

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.


(funzione di modello) [modifica]

un iteratore che permette di algoritmi standard per memorizzare i risultati in memoria non inizializzata

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 template) [modifica]

ottiene stoccaggio non inizializzata

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.


(funzione di modello) [modifica]

libera di memorizzazione non inizializzato

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.


(funzione di modello) [modifica]

Garbage collector supporto

Definizione nell'header <memory>

dichiara che un oggetto non può essere riciclato

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.


(funzione) [modifica]

dichiara che un oggetto può essere riciclato

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.


(funzione di modello) [modifica]

dichiara che un'area di memoria non contiene puntatori rintracciabili

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.


(funzione) [modifica]

annulla l'effetto del 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.


(funzione) [modifica]

elenca i modelli di sicurezza del puntatore

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) [modifica]

restituisce l'attuale modello di sicurezza puntatore

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.


(funzione) [modifica]

Varie

Definizione nell'header <memory>

fornisce informazioni su come i tipi di puntatore

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 template) [modifica]

(C++11)

ottiene l'indirizzo reale di un oggetto, anche se l'operatore &' è sovraccarico

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.


(funzione di modello) [modifica]

(C++11)

allinea un puntatore in un buffer

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.


(funzione) [modifica]

C-stile di gestione della memoria

Include ad esempio std::malloc, std::free

Original:

Includes e.g. std::malloc, std::free

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

Basso livello di gestione della memoria

Include ad esempio operator new , operator delete , std::set_new_handler

Original:

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