[#BloombergLP-bslmf-UsesAllocatorArgT-0a]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmf.adoc[bslmf]::UsesAllocatorArgT
:relfileprefix: ../../
:mrdocs:

Metafunction that is `true&lowbar;type` if `t&lowbar;TYPE` uses `allocator&lowbar;arg&lowbar;t` construction&period;

== Synopsis

Declared in `&lt;bslmf&lowbar;usesallocatorargt&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;TYPE&gt;
struct UsesAllocatorArgT
    : DetectNestedTrait&lt;t&lowbar;TYPE, UsesAllocatorArgT&gt;::type
----

== Description

User&hyphen;specialized trait type indicating that the constructor of `t&lowbar;TYPE` can be invoked using `bsl&colon;&colon;allocator&lowbar;arg` as its first argument and an allocator object as its second argument&period;

== Base Classes

[cols="1,4"]
|===
| Name| Description
| `DetectNestedTrait&lt;t&lowbar;TYPE, UsesAllocatorArgT&gt;::type`
| 
|===

== Specializations

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslmf/UsesAllocatorArgT-047.adoc[`UsesAllocatorArgT&lt;t&lowbar;TYPE volatile&gt;`] 
| Partial specialization that associates the same trait with &grave;volatile t&lowbar;TYPE` as with unqualified `t&lowbar;TYPE&grave;&period;
| xref:BloombergLP/bslmf/UsesAllocatorArgT-044.adoc[`UsesAllocatorArgT&lt;t&lowbar;TYPE const&gt;`] 
| Partial specialization that associates the same trait with &grave;const t&lowbar;TYPE` as with unqualified `t&lowbar;TYPE&grave;&period;
| xref:BloombergLP/bslmf/UsesAllocatorArgT-0d.adoc[`UsesAllocatorArgT&lt;t&lowbar;TYPE const volatile&gt;`] 
| Partial specialization that associates the same trait with &grave;const volatile t&lowbar;TYPE` as with unqualified `t&lowbar;TYPE&grave;&period;
|===



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