[#bsl-allocator_traits-0ae-is_always_equal]
= xref:bsl.adoc[bsl]::xref:bsl/allocator_traits-0ae.adoc[allocator&lowbar;traits&lt;std::allocator&lt;ALLOCATOR&lowbar;TYPE&gt;&gt;]::is&lowbar;always&lowbar;equal
:relfileprefix: ../../
:mrdocs:

Whether all instances of the allocator type compare equal&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
using is&lowbar;always&lowbar;equal = &lowbar;&lowbar;detected&lowbar;or&lowbar;t&lt;is&lowbar;empty&lt;&lowbar;Alloc&gt;, &lowbar;&lowbar;equal, &lowbar;Alloc&gt;::type;
----

== Description

`Alloc&colon;&colon;is&lowbar;always&lowbar;equal` if that type exists, otherwise `is&lowbar;empty&lt;Alloc&gt;&colon;&colon;type`


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