[#BloombergLP-bslma-AAModelIsSupported-01d]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/AAModelIsSupported-06.adoc[AAModelIsSupported]&lt;TYPE, xref:BloombergLP/bslma/AAModelStl.adoc[AAModelStl]&gt;
:relfileprefix: ../../
:mrdocs:

Specialization of `AAModelIsSupported` for `MODEL &equals;&equals; AAModelStl`, yielding `true&lowbar;type` if `TYPE&colon;&colon;allocator&lowbar;type` exists&semi; otherwise, yielding `false&lowbar;type` unless `AAModelIsSupported&lt;TYPE, AAModelBsl&gt;` is true&period; The latter condition exists so that *bsl&hyphen;AA* always implies *stl&hyphen;AA* even if `AAModelIsSupported&lt;TYPE, AAModelBsl&gt;` is explicitly specialized to true for a type that does not have an `allocator&lowbar;type` member&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
struct xref:BloombergLP/bslma/AAModelIsSupported-06.adoc[AAModelIsSupported]&lt;TYPE, xref:BloombergLP/bslma/AAModelStl.adoc[AAModelStl]&gt;
    : xref:bsl/integral_constant-02.adoc[bsl::integral&lowbar;constant&lt;bool, HasAllocatorType&lt;TYPE&gt;&colon;&colon;value &verbar;&verbar; AAModelIsSupported&lt;TYPE, AAModelBsl&gt;&colon;&colon;value&gt;]
----

== Base Classes

[cols="1,4"]
|===
| Name| Description
| `xref:bsl/integral_constant-02.adoc[bsl::integral&lowbar;constant&lt;bool, HasAllocatorType&lt;TYPE&gt;&colon;&colon;value &verbar;&verbar; AAModelIsSupported&lt;TYPE, AAModelBsl&gt;&colon;&colon;value&gt;]`
| Metafunction representing a compile&hyphen;time constant of the specified (template parameter) `t&lowbar;TYPE` with the specified (template parameter) `t&lowbar;VALUE`&period;
|===

== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:bsl/integral_constant-02/type.adoc[`type`] 
| Alias for this `integral&lowbar;constant` specialization&period;
| xref:bsl/integral_constant-02/value_type.adoc[`value&lowbar;type`] 
| 
|===


== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:bsl/integral_constant-02/operator_call.adoc[`operator()`] 
| Return a copy of the template argument `t&lowbar;VALUE`&period;
| xref:bsl/integral_constant-02/2conversion.adoc[`operator value&lowbar;type`] 
| 
|===


== Static Data Members

[cols="1"]
|===
| Name
| xref:bsl/integral_constant-02/value.adoc[`value`] 
|===



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