[#BloombergLP-bslma-AllocatorTraits_CallMaxSize-03-max_size] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/AllocatorTraits_CallMaxSize-03.adoc[AllocatorTraits_CallMaxSize<T, bsl::void_t<decltype(bslmf::Util::declval<T>().max_size())>>]::max_size :relfileprefix: ../../../ :mrdocs: Return the maximum size of the specified `alloc`. Also note that this method is defined inline to work around a Windows compiler bug with SFINAE functions. == Synopsis Declared in `<bslma_allocatortraits.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bslma/AllocatorTraits_CallMaxSize-03/SizeType.adoc[SizeType] max_size(T const& alloc); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#