◐ Shell
clean mode source ↗

Dynamic memory management - cppreference.com

De cppreference.com

Ponteiros inteligentes

Ponteiros inteligentes permitem automático, exceção de segurança, gerenciamento de vida útil do objeto.

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.

Defined in header <memory>

Categorias ponteiro

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.

ponteiro inteligente com a semântica de propriedade únicos objetos

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.


(modelo de classe) [edit]
smart pointer with shared object ownership semantics
(modelo de classe) [edit]

(C++11)

referência fraca para um objeto gerenciado por 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.


(modelo de classe) [edit]

(obsoleta)

ponteiro inteligente com a semântica de propriedade rigorosos objeto

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.


(modelo de classe) [edit]

Classes auxiliares

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.

fornece de tipo misto ordenação proprietário baseado de ponteiros compartilhados e fraco

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.


(modelo de classe) [edit]

permite que um objecto para criar um shared_ptr referindo-se a si mesma

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.


(modelo de classe) [edit]

exceção lançada ao acessar um weak_ptr que se refere ao objeto já destruídos

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

deleter padrão para 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.


(modelo de classe) [edit]

Alocadores

Alocadores são modelos de classe encapsulando estratégia de alocação de memória. Isso permite que os recipientes genéricos para dissociar o gerenciamento de memória a partir dos dados em si.

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.

Defined in header <memory>

the default allocator
(modelo de classe) [edit]

fornece informações sobre os tipos de alocador

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.


(modelo de classe) [edit]

tipo de etiqueta usada para selecionar sobrecargas alocador de reconhecimento do construtor

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]

um objeto de std::allocator_arg_t tipo usado para selecionar alocador de reconhecimento de construtores

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]

verifica se o tipo especificado suporta usos alocador-construção

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.


(modelo de classe) [edit]

Defined in header <scoped_allocator>

implementa multi-nível alocador de multi-nível de contêineres

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.


(modelo de classe) [edit]

Uninitialized armazenamento

Vários utilitários são fornecidos para criar e acessar armazenamento bruto

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.

Defined in header <memory>

copia uma série de objetos para uma área de memória não inicializada

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.


(modelo de função) [edit]

copia uma série de objetos para uma área de memória não inicializada

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.


(modelo de função) [edit]

copia um objeto para uma área de memória não inicializada

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.


(modelo de função) [edit]

copia um objeto para uma área de memória não inicializada

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.


(modelo de função) [edit]

um iterador que permite algoritmos padrão para armazenar os resultados em memória não inicializada

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.


(modelo de classe) [edit]

Obtém o armazenamento não inicializado

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.


(modelo de função) [edit]

liberta de armazenamento não inicializado

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.


(modelo de função) [edit]

Apoio coletor de lixo

Defined in header <memory>

declara que um objeto não pode ser reciclado

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.


(função) [edit]

declara que um objeto pode ser reciclado

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.


(modelo de função) [edit]

declara que uma área de memória não contém ponteiros rastreáveis

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.


(função) [edit]

cancela o efeito da 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.


(função) [edit]

lista de modelos de segurança do ponteiro

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]

devolve o modelo de segurança de correntes de ponteiro

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.


(função) [edit]

Diversos

Defined in header <memory>

fornece informações sobre como os tipos de ponteiro

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.


(modelo de classe) [edit]

(C++11)

obtém o endereço real de um objeto, mesmo se o operador &' está sobrecarregado

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.


(modelo de função) [edit]

(C++11)

Alinha um ponteiro numa memória intermédia

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.


(função) [edit]

C estilo de gerenciamento de memória

Inclui, por exemplo, 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.

Gerenciamento de memória de baixo nível

Inclui, por exemplo, 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.