std::unordered_map::max_size
De cppreference.com
<metanoindex/>
<tbody> </tbody> size_type max_size() const; |
(desde C++11) | |
Retorna o número máximo de elementos do recipiente é capaz de manter, devido a limitações de implementação do sistema ou da biblioteca, ou seja, para a maior
std::distance(begin(), end()) recipiente.Original:
Returns the maximum number of elements the container is able to hold due to system or library implementation limitations, i.e.
std::distance(begin(), end()) for the largest container.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.
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.
Valor de retorno
número máximo de elementos
Original:
maximum number of elements
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.
Exceções
Complexidade
Constante
Original:
Constant
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.
Notas
Este valor é tipicamente igual a
std::numeric_limits<size_type>::max(), e reflecte o limite teórico para o tamanho do recipiente. Durante a execução, o tamanho do recipiente pode ser limitada a um valor menor do que max_size() pela quantidade de RAM disponível.Original:
This value is typically equal to
std::numeric_limits<size_type>::max(), and reflects the theoretical limit on the size of the container. At runtime, the size of the container may be limited to a value smaller than max_size() by the amount of RAM available.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.
