[#bsl-allocator_traits-0108-is_always_equal]
= xref:bsl.adoc[bsl]::xref:bsl/allocator_traits-0108.adoc[allocator&lowbar;traits]::is&lowbar;always&lowbar;equal
:relfileprefix: ../../
:mrdocs:

`true&lowbar;type` if two allocators always compare equal&semi; else `false&lowbar;type`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
typedef BloombergLP::bslma::AllocatorTraits&lowbar;IsAlwaysEqual&lt;ALLOCATOR&lowbar;TYPE&gt;::type is&lowbar;always&lowbar;equal;
----

== Description

Identical to, or derived from `true&lowbar;type` if two allocators of parameterized `ALLOCATOR&lowbar;TYPE` always compare equal&semi; otherwise identical to or derived from `false&lowbar;type`&period; This type is `ALLOCATOR&lowbar;TYPE&colon;&colon;is&lowbar;always&lowbar;equal` if such a type is defined, and `is&lowbar;empty&lt;ALLOCATOR&lowbar;TYPE&gt;` otherwise&period;


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