[#bsl-allocator_traits-0a4] = xref:bsl.adoc[bsl]::xref:bsl/allocator_traits-0108.adoc[allocator_traits]<ALLOCATOR_TYPE*> :relfileprefix: ../ :mrdocs: Empty specialization of `allocator_traits` for pointer allocator types. == Synopsis Declared in `<bslma_allocatortraits.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class ALLOCATOR_TYPE> struct xref:bsl/allocator_traits-0108.adoc[allocator_traits]<ALLOCATOR_TYPE*>; ---- == Description This is an empty class specialization of `allocator_traits` for pointer types that (intentionally) does not define any of the traits typedefs. It's needed in order make unambiguous function overloads that take both a standard allocator by value and a `bslma::Allocator *`. By using the typedefs defined in `allocator_traits` in the signature of functions taking standard allocators, we can ensure that those overloads are not considered when using `bslma`‐style allocators. [.small]#Created with https://www.mrdocs.com[MrDocs]#