[#bsl-allocator_traits-0a4]
= xref:bsl.adoc[bsl]::xref:bsl/allocator_traits-0108.adoc[allocator&lowbar;traits]&lt;ALLOCATOR&lowbar;TYPE*&gt;
:relfileprefix: ../
:mrdocs:

Empty specialization of `allocator&lowbar;traits` for pointer allocator types&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class ALLOCATOR&lowbar;TYPE&gt;
struct xref:bsl/allocator_traits-0108.adoc[allocator&lowbar;traits]&lt;ALLOCATOR&lowbar;TYPE*&gt;;
----

== Description

This is an empty class specialization of `allocator&lowbar;traits` for pointer types that (intentionally) does not define any of the traits typedefs&period; It&apos;s needed in order make unambiguous function overloads that take both a standard allocator by value and a `bslma&colon;&colon;Allocator &ast;`&period; By using the typedefs defined in `allocator&lowbar;traits` in the signature of functions taking standard allocators, we can ensure that those overloads are not considered when using `bslma`&hyphen;style allocators&period;


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