Fallback max_size implementation when the allocator does not provide its own max_size member function.
Declared in <bslma_allocatortraits.h>
template<
class T,
class = void>
struct AllocatorTraits_CallMaxSize;
| Name | Description |
|---|---|
SizeType | Alias to AllocatorTraits_SizeType<T>::type. |
| Name | Description |
|---|---|
max_size | Return the maximum size of the specified (template) parameter T. |
| Name | Description |
|---|---|
AllocatorTraits_CallMaxSize<T, bsl::void_t<decltype(bslmf::Util::declval<T>().max_size())>> | max_size implementation that forwards to the allocator's member. |