[#BloombergLP-bslma-AATypeUtil]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::AATypeUtil
:relfileprefix: ../../
:mrdocs:

Namespace for utility functions on allocator&hyphen;aware types

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class AATypeUtil;
----

== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslma/AATypeUtil/getAdaptedAllocator-01.adoc[`getAdaptedAllocator`] 
| `getAdaptedAllocator` overloads
| xref:BloombergLP/bslma/AATypeUtil/getAllocatorFromSubobject-00.adoc[`getAllocatorFromSubobject`] 
| `getAllocatorFromSubobject` overloads
| xref:BloombergLP/bslma/AATypeUtil/getBslAllocator.adoc[`getBslAllocator`] 
| Return the allocator for `object` as a `bsl&colon;&colon;allocator&lt;char&gt;`&period;
| xref:BloombergLP/bslma/AATypeUtil/getNativeAllocator-04e.adoc[`getNativeAllocator`] 
| `getNativeAllocator` overloads
| xref:BloombergLP/bslma/AATypeUtil/haveEqualAllocators-0a.adoc[`haveEqualAllocators`] 
| Return whether the allocators of `a` and `b` compare equal&period;
|===



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