◐ Shell
clean mode source ↗

std::allocator::max_size – cppreference.com

Aus cppreference.com

<metanoindex/>

<tbody> </tbody>

definiert in Header

<memory>

size_type max_size() const

Liefert die theoretisch maximal möglichen Wert der n, für die der Ruf allocate(n, 0) gelingen könnte .

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.

In den meisten Implementierungen Dies gibt 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.

Parameter

(None)

Original:

(none)

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

Rückgabewert

Die maximal unterstützte Zuweisung Größe

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.

Ausnahmen

Siehe auch

gibt die maximale Objektgröße von der Zuweisung unterstützt

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.


(public static Elementfunktion of std::allocator_traits) [edit]