◐ Shell
clean mode source ↗

std::allocator::max_size - cppreference.com

Da cppreference.com.

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.

Click here for the English version of this page

<metanoindex/>

<tbody> </tbody>

Elemento definito nell'header

<memory>

size_type max_size() const

Restituisce il valore massimo teoricamente possibile di n, per il quale la chiamata allocate(n, 0) potrebbe avere successo.

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.

Nella maggior parte delle implementazioni, questo ritorna 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.

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.

Valore di ritorno

La dimensione massima allocazione supportato

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.

Eccezioni

Vedi anche

restituisce la dimensione massima oggetto supportato dalla allocatore

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.


(metodo pubblico statico) [modifica]