[#BloombergLP-bslma-AllocatorTraits_CallMaxSize-03]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/AllocatorTraits_CallMaxSize-07.adoc[AllocatorTraits&lowbar;CallMaxSize]&lt;T, xref:bsl/void_t.adoc[bsl::void&lowbar;t&lt;decltype(bslmf&colon;&colon;Util&colon;&colon;declval&lt;T&gt;()&period;max&lowbar;size())&gt;]&gt;
:relfileprefix: ../../
:mrdocs:

== Synopsis

Declared in `&lt;bslma&lowbar;allocatortraits&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class T&gt;
struct xref:BloombergLP/bslma/AllocatorTraits_CallMaxSize-07.adoc[AllocatorTraits&lowbar;CallMaxSize]&lt;T, xref:bsl/void_t.adoc[bsl::void&lowbar;t&lt;decltype(bslmf&colon;&colon;Util&colon;&colon;declval&lt;T&gt;()&period;max&lowbar;size())&gt;]&gt;;
----

== Type Aliases

[cols="1"]
|===
| Name
| xref:BloombergLP/bslma/AllocatorTraits_CallMaxSize-03/SizeType.adoc[`SizeType`] 
|===


== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslma/AllocatorTraits_CallMaxSize-03/max_size.adoc[`max&lowbar;size`] 
| Return the maximum size of the specified `alloc`&period; Also note that this method is defined inline to work around a Windows compiler bug with SFINAE functions&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
