std::allocator_traits::max_size
Da cppreference.com.
< cpp | memory | allocator traits
![]() |
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
Elemento definito nell'header <memory>
|
||
static size_type max_size( Alloc& a ) |
(dal C++11) | |
Se possibile, ottiene la dimensione massima di allocazione teoricamente possibile dal
a
allocatore, chiamandoOriginal:
If possible, obtains the maximum theoretically possible allocation size from the allocator
a
, by callingThe 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.
a.max_size()
Se quanto sopra non è possibile (ad esempio
a
non ha la funzione di membro max_size()
,), poi ritornaOriginal:
If the above is not possible (e.g.
a
does not have the member function max_size()
,), then returnsThe 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.
std::numeric_limits<size_type>::max()
[modifica] Parametri
(Nessuno)
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.
[modifica] Valore di ritorno
Teorica dimensione di allocazione massima
Original:
Theoretical maximum 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.
[modifica] Vedi anche
restituisce la dimensione massima supportata di allocazione Original: returns the largest 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. (metodo pubblico) |