[#bsl-allocator_traits-0108-rebind_alloc]
= xref:bsl.adoc[bsl]::xref:bsl/allocator_traits-0108.adoc[allocator&lowbar;traits]::rebind&lowbar;alloc
:relfileprefix: ../../
:mrdocs:

Rebind this allocator to the specified `ELEMENT&lowbar;TYPE`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class ELEMENT&lowbar;TYPE&gt;
using rebind&lowbar;alloc = BloombergLP::bslma::AllocatorTraits&lowbar;RebindAlloc&lt;ALLOCATOR&lowbar;TYPE, ELEMENT&lowbar;TYPE&gt;::type;
----


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