Espacios de nombres
Variantes
Acciones

Dynamic memory management

De cppreference.com
< cpp
 
 
Utilidades de la biblioteca
Escriba apoyo (basic types, RTTI, type traits)
Gestión de memoria dinámica
Gestión de errores
Programa de servicios públicos
Funciones variadic
Fecha y hora
Objetos Function
initializer_list(C++11)
bitset
hash(C++11)
Operadores relacionales
Original:
Relational operators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
rel_ops::operator!=
rel_ops::operator>
rel_ops::operator<=
rel_ops::operator>=
Pares y tuplas
Original:
Pairs and tuples
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
pair
tuple(C++11)
piecewise_construct_t(C++11)
piecewise_construct(C++11)
Cambiar, hacia adelante y mover
Original:
Swap, forward and move
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
swap
forward(C++11)
move(C++11)
move_if_noexcept(C++11)
declval(C++11)
 
Gestión de memoria dinámica
Bajo la gestión de memoria de nivel
Los asignadores
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)
Inicializar el almacenamiento
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
Punteros inteligentes
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(obsoleto)
owner_less(C++11)
enable_shared_from_this(C++11)
bad_weak_ptr(C++11)
default_delete(C++11)
Garbage soporte colección
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)
Varios
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)
C Library
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.
 

Contenido

[editar] Punteros inteligentes

Los punteros inteligentes permiten, de forma automática y segura de fallos, gestionar el tiempo de vida de los objetos.

Defined in header <memory>
Categorías punteros
puntero inteligente con el único objeto de propiedad semántica
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.

(clase de plantilla) [edit]
smart pointer with shared object ownership semantics
(clase de plantilla) [edit]
(C++11)
débil referencia a un objeto administrado 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.

(clase de plantilla) [edit]
(obsoleto)
puntero inteligente con estrictas semántica de objetos de propiedad
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.

(clase de plantilla) [edit]
Clases de ayuda
ofrece de tipo mixto propietario basado ordenamiento de los punteros compartidos y débil
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.

(clase de plantilla) [edit]
permite que un objeto para crear una shared_ptr refiriéndose a sí mismo
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.

(clase de plantilla) [edit]
Excepción que se produce cuando se accede a un weak_ptr que se refiere al objeto ya destruido
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.

(clase) [edit]
Deleter por defecto 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.

(clase de plantilla) [edit]

[editar] Los asignadores

Los asignadores (allocators en inglés) son clases plantillas que encapsulan la estrategia de asignación de memoria. Esto le permite a los contenedores genéricos separar la gestión de la memoria de los datos por sí mismos.

Defined in header <memory>
the default allocator
(clase de plantilla) [edit]
proporciona información sobre los tipos de asignador
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.

(clase de plantilla) [edit]
tipo de variable utilizada para seleccionar conscientes asignador-sobrecargas del constructor
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.

(clase) [edit]
un objeto de tipo std::allocator_arg_t utiliza para seleccionar conscientes asignador-constructores
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]
comprueba si el tipo especificado admite usos-asignador de construcción
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.

(clase de plantilla) [edit]
Defined in header <scoped_allocator>
implementa varios niveles asignador de niveles múltiples recipientes
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.

(clase de plantilla) [edit]

[editar] Inicializar el almacenamiento

Se proporcionan varias utilidades para crear y tener acceso a almacenamiento en crudo

Defined in header <memory>
copia un rango de objetos a una zona de memoria no 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.

(función de plantilla) [edit]
copia un número de objetos a un área de memoria no 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.

(función de plantilla) [edit]
copia un objeto a una zona de memoria no 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.

(función de plantilla) [edit]
copia un objeto a una zona de memoria no 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.

(función de plantilla) [edit]
un iterador que permite a los algoritmos estándar para almacenar los resultados en la memoria sin inicializar
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.

(clase de plantilla) [edit]
Obtiene el almacenamiento sin inicializar
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.

(función de plantilla) [edit]
libera almacenamiento sin inicializar
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.

(función de plantilla) [edit]

[editar] Garbage soporte del colector

Defined in header <memory>
declara que un objeto no puede 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.

(función) [edit]
declara que un objeto puede 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.

(función de plantilla) [edit]
declara que una zona de memoria no contiene punteros rastreable
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.

(función) [edit]
cancela el efecto 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.

(función) [edit]
Listas de modelos puntero de seguridad
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.

(clase) [edit]
devuelve el puntero del modelo actual de seguridad
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.

(función) [edit]

[editar] Varios

Defined in header <memory>
proporciona información sobre como puntero tipos
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.

(clase de plantilla) [edit]
(C++11)
Obtiene la dirección real de un objeto, incluso si el operador &' está sobrecargado
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.

(función de plantilla) [edit]
(C++11)
alinea un puntero en un tampón
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.

(función) [edit]

[editar] C-estilo de gestión de memoria

Incluye, por ejemplo, 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.

[editar] Bajo la gestión de memoria de nivel

Incluye, por ejemplo, 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.