[#BloombergLP-bslma-operator_eq-03] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::operator== :relfileprefix: ../../ :mrdocs: Equality operators == Synopses Declared in `<bslma_managedptrdeleter.h>` Return `true` if the specified `lhs` and `rhs` objects have the same value, and `false` otherwise. Two `ManagedPtrDeleter` objects have the same value if the corresponding values of their `object`, `factory`, and `deleter` attributes are the same. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bslma/operator_eq-02.adoc[operator==]( 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..._]# Return `true` if the specified `lhs` and `rhs` are proxies for the same `bslma::TestAllocator` object. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class T1, class T2> bool xref:BloombergLP/bslma/operator_eq-07.adoc[operator==]( xref:BloombergLP/bslma/StdTestAllocator.adoc[StdTestAllocator<T1>] const& lhs, xref:BloombergLP/bslma/StdTestAllocator.adoc[StdTestAllocator<T2>] const& rhs); ---- [.small]#xref:BloombergLP/bslma/operator_eq-07.adoc[_» more..._]# Return `true` if the specified `lhs` is a proxy for the specified `rhs`, and `false` otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> bool xref:BloombergLP/bslma/operator_eq-0e.adoc[operator==]( xref:BloombergLP/bslma/StdTestAllocator.adoc[StdTestAllocator<TYPE>] const& lhs, xref:BloombergLP/bslma/TestAllocator.adoc[TestAllocator] const* rhs); ---- [.small]#xref:BloombergLP/bslma/operator_eq-0e.adoc[_» more..._]# Return `true` if the specified `rhs` is a proxy for the specified `lhs`, and `false` otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> bool xref:BloombergLP/bslma/operator_eq-0b.adoc[operator==]( xref:BloombergLP/bslma/TestAllocator.adoc[TestAllocator] const* lhs, xref:BloombergLP/bslma/StdTestAllocator.adoc[StdTestAllocator<TYPE>] const& rhs); ---- [.small]#xref:BloombergLP/bslma/operator_eq-0b.adoc[_» more..._]# == Return Value `true` if `lhs` and `rhs` share the same mechanism object. == Parameters [cols="1,4"] |=== | Name| Description | *lhs* | The left‐hand test allocator operand. | *rhs* | The right‐hand test allocator operand. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#