[#bsl-allocator-0a-rebind]
= xref:bsl.adoc[bsl]::xref:bsl/allocator-0a.adoc[allocator&lt;void&gt;]::rebind
:relfileprefix: ../../
:mrdocs:

Rebind this allocator to another type&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class ANY&lowbar;TYPE&gt;
struct rebind;
----

== Description

This nested `struct` template, parameterized by `ANY&lowbar;TYPE`, provides a namespace for an `other` type alias, which is this template instantiated with `ANY&lowbar;TYPE` instead of `TYPE`&period; Note that this allocator type is convertible to and from `other` for any type, including `void`&period;


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