[#BloombergLP-bslma-AllocatorTraits_HasIsAlwaysEqual]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::AllocatorTraits&lowbar;HasIsAlwaysEqual
:relfileprefix: ../../
:mrdocs:

This `struct` template provides a mechanism for determining whether a given (template parameter) `ALLOCATOR&lowbar;TYPE` defines a nested alias named`is&lowbar;always&lowbar;equal`&period; The static boolean member `value` (nested alias named `type`) is `true` (`bsl&colon;&colon;true&lowbar;type`) if `ALLOCATOR&lowbar;TYPE` defines such an alias, and `false` (`bsl&colon;&colon;false&lowbar;type`) otherwise&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class ALLOC&gt;
struct AllocatorTraits&lowbar;HasIsAlwaysEqual;
----

== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslma/AllocatorTraits_HasIsAlwaysEqual/type.adoc[`type`] 
| `integral&lowbar;constant` for whether `ALLOC` defines `is&lowbar;always&lowbar;equal`&period;
|===


== Static Data Members

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslma/AllocatorTraits_HasIsAlwaysEqual/value.adoc[`value`] 
| `true` if `ALLOC` defines a nested `is&lowbar;always&lowbar;equal` alias&period;
|===



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