std::allocator::max_size
Da cppreference.com
![]() |
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
Definido no cabeçalho <memory>
|
||
size_type max_size() const |
||
Retorna o valor máximo teoricamente possível de
n
, para o qual a chamada allocate(n, 0)
poderia ter sucesso. 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.
You can help to correct and verify the translation. Click here for instructions.
Na maioria das implementações, este retorna 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.
You can help to correct and verify the translation. Click here for instructions.
Índice |
[editar] Parâmetros
(Nenhum)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[editar] Valor de retorno
O tamanho de alocação máximo suportado
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.
You can help to correct and verify the translation. Click here for instructions.
[editar] Exceções
[editar] Veja também
[estática] |
retorna o tamanho do objeto máximo suportado pelo alocador 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. (of std::allocator_traits função public static membro)
|