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) |
|
Défini dans l'en-tête
<scoped_allocator>
|
||
|
size_type max_size
(
)
const
;
|
(depuis C++11) | |
Rapporte la taille d'allocation maximale prise en charge par l'allocateur externe, en appelant std:: allocator_traits < OuterAlloc > :: max_size ( outer_allocator ( ) ) .
Paramètres
(aucun)
Valeur de retour
La taille d'allocation maximale pour OuterAlloc.
Voir aussi
|
(until C++20)
|
retourne la taille d'allocation maximale prise en charge
(fonction membre publique de
std::allocator<T>
)
|
|
[static]
|
retourne la taille maximale d'objet prise en charge par l'allocateur
(fonction membre publique statique de
std::allocator_traits<Alloc>
)
|