Espacios de nombres
Variantes
Acciones

std::allocator::max_size

De cppreference.com
< cpp‎ | memory‎ | allocator
 
 
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.
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.
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.
(C++11)
(C++11)
(C++11)
(obsoleto)
(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.
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.
(C++11)
(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.
 
std::allocator
Las funciones miembro
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
allocator::max_size
Terceros funciones
Original:
Non-member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
Definido en la cabecera <memory>
size_type max_size() const
Devuelve el valor máximo teóricamente posible de n, por lo que requieren los allocate(n, 0) podría tener éxito .
Original:
Returns the maximum theoretically possible value of n, for which the call allocate(n, 0) could succeed.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
En la mayoría de las implementaciones, devuelve std::numeric_limits<size_type>::max() .
Original:
In most implementations, this returns std::numeric_limits<size_type>::max().
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Contenido

[editar] Parámetros

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

[editar] Valor de retorno

El máximo tamaño de la asignación de apoyo
Original:
The maximum supported allocation size
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Excepciones

noexcept specification:  
noexcept
  (desde C++11)

[editar] Ver también

[estático]
devuelve el tamaño del objeto máxima soportada por el asignador
Original:
returns the maximum object size supported by the allocator
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(función miembro público estático de std::allocator_traits) [editar]