std::scoped_allocator_adaptor<OuterAlloc,InnerAlloc...>:: max_size
From cppreference.net
<
cpp
|
memory
|
scoped allocator adaptor
C++
Memory management library
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::scoped_allocator_adaptor
| Member functions | ||||
|
scoped_allocator_adaptor::max_size
|
||||
| Non-member functions | ||||
|
(until C++20)
|
||||
| Deduction guides (C++17) |
|
Definiert in Header
<scoped_allocator>
|
||
|
size_type max_size
(
)
const
;
|
(seit C++11) | |
Meldet die maximale Allokationsgröße, die vom äußeren Allokator unterstützt wird, durch Aufruf von std:: allocator_traits < OuterAlloc > :: max_size ( outer_allocator ( ) ) .
Parameter
(keine)
Rückgabewert
Die maximale Zuordnungsgröße für OuterAlloc.
Siehe auch
|
(bis C++20)
|
gibt die größte unterstützte Allokationsgröße zurück
(öffentliche Mitgliedsfunktion von
std::allocator<T>
)
|
|
[static]
|
gibt die maximale Objektgröße zurück, die vom Allokator unterstützt wird
(öffentliche statische Mitgliedsfunktion von
std::allocator_traits<Alloc>
)
|