[#BloombergLP-bslmf-UsesAllocatorArgT-0a] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmf.adoc[bslmf]::UsesAllocatorArgT :relfileprefix: ../../ :mrdocs: Metafunction that is `true_type` if `t_TYPE` uses `allocator_arg_t` construction. == Synopsis Declared in `<bslmf_usesallocatorargt.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class t_TYPE> struct UsesAllocatorArgT : DetectNestedTrait<t_TYPE, UsesAllocatorArgT>::type ---- == Description User‐specialized trait type indicating that the constructor of `t_TYPE` can be invoked using `bsl::allocator_arg` as its first argument and an allocator object as its second argument. == Base Classes [cols="1,4"] |=== | Name| Description | `DetectNestedTrait<t_TYPE, UsesAllocatorArgT>::type` | |=== == Specializations [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslmf/UsesAllocatorArgT-047.adoc[`UsesAllocatorArgT<t_TYPE volatile>`] | Partial specialization that associates the same trait with `volatile t_TYPE` as with unqualified `t_TYPE`. | xref:BloombergLP/bslmf/UsesAllocatorArgT-044.adoc[`UsesAllocatorArgT<t_TYPE const>`] | Partial specialization that associates the same trait with `const t_TYPE` as with unqualified `t_TYPE`. | xref:BloombergLP/bslmf/UsesAllocatorArgT-0d.adoc[`UsesAllocatorArgT<t_TYPE const volatile>`] | Partial specialization that associates the same trait with `const volatile t_TYPE` as with unqualified `t_TYPE`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#