[#BloombergLP-bslalg-TypeTraitUsesBslmaAllocator]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::TypeTraitUsesBslmaAllocator
:relfileprefix: ../../
:mrdocs:

A `TYPE` with this trait uses an allocator derived from `bslma&colon;&colon;Allocator` to supply memory&period;

== Synopsis

Declared in `&lt;bslalg&lowbar;typetraitusesbslmaallocator&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct TypeTraitUsesBslmaAllocator;
----

== Description

See documentation on the `bslma&lowbar;usesbslmaallocator` trait for the requirements on a `TYPE` that has this trait&period;

== Types

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslalg/TypeTraitUsesBslmaAllocator/Metafunction.adoc[`Metafunction`] 
| Metafunction that delegates to `bslma&colon;&colon;UsesBslmaAllocator`&period;
| xref:BloombergLP/bslalg/TypeTraitUsesBslmaAllocator/NestedTraitDeclaration.adoc[`NestedTraitDeclaration`] 
| This class template ties the `bslalg&colon;&colon;TypeTraitUsesBslmaAllocator` trait tag to the `bslma&colon;&colon;UsesBslmaAllocator` trait metafunction&period;
|===



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