[#BloombergLP-bslma-AllocatorTraits_CallMaxSize-07-max_size] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/AllocatorTraits_CallMaxSize-07.adoc[AllocatorTraits_CallMaxSize]::max_size :relfileprefix: ../../../ :mrdocs: Return the maximum size of the specified (template) parameter `T`. 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-07/SizeType.adoc[SizeType] max_size(T const&); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#