[#BloombergLP-bslma-operator_eq-03]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::operator&equals;&equals;
:relfileprefix: ../../
:mrdocs:

Equality operators

== Synopses

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

Return `true` if the specified `lhs` and `rhs` objects have the same value, and `false` otherwise&period; Two `ManagedPtrDeleter` objects have the same value if the corresponding values of their `object`, `factory`, and `deleter` attributes are the same&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bslma/operator_eq-02.adoc[operator&equals;&equals;](
    xref:BloombergLP/bslma/ManagedPtrDeleter.adoc[ManagedPtrDeleter] const& lhs,
    xref:BloombergLP/bslma/ManagedPtrDeleter.adoc[ManagedPtrDeleter] const& rhs);
----

[.small]#xref:BloombergLP/bslma/operator_eq-02.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` are proxies for the same `bslma&colon;&colon;TestAllocator` object&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class T1,
    class T2&gt;
bool
xref:BloombergLP/bslma/operator_eq-07.adoc[operator&equals;&equals;](
    xref:BloombergLP/bslma/StdTestAllocator.adoc[StdTestAllocator&lt;T1&gt;] const& lhs,
    xref:BloombergLP/bslma/StdTestAllocator.adoc[StdTestAllocator&lt;T2&gt;] const& rhs);
----

[.small]#xref:BloombergLP/bslma/operator_eq-07.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` is a proxy for the specified `rhs`, and `false` otherwise&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
bool
xref:BloombergLP/bslma/operator_eq-0e.adoc[operator&equals;&equals;](
    xref:BloombergLP/bslma/StdTestAllocator.adoc[StdTestAllocator&lt;TYPE&gt;] const& lhs,
    xref:BloombergLP/bslma/TestAllocator.adoc[TestAllocator] const* rhs);
----

[.small]#xref:BloombergLP/bslma/operator_eq-0e.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `rhs` is a proxy for the specified `lhs`, and `false` otherwise&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
bool
xref:BloombergLP/bslma/operator_eq-0b.adoc[operator&equals;&equals;](
    xref:BloombergLP/bslma/TestAllocator.adoc[TestAllocator] const* lhs,
    xref:BloombergLP/bslma/StdTestAllocator.adoc[StdTestAllocator&lt;TYPE&gt;] const& rhs);
----

[.small]#xref:BloombergLP/bslma/operator_eq-0b.adoc[_» more&period;&period;&period;_]#

== Return Value

`true` if `lhs` and `rhs` share the same mechanism object&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *lhs*
| The left&hyphen;hand test allocator operand&period;
| *rhs*
| The right&hyphen;hand test allocator operand&period;
|===


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