[#BloombergLP-bslma-operator_not_eq-09]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::operator!&equals;
:relfileprefix: ../../
:mrdocs:

Inequality operators

== Synopses

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

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


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

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

Return `true` unless the specified `lhs` and `rhs` are proxies for the same `bslma&colon;&colon;TestAllocator` object, in which case return `false`&period; This is a practical implementation of the STL requirement that two allocators compare equal if and only if memory allocated from one can be deallocated from the other&period; Note that the two allocators need not be instantiated on the same type in order to compare equal&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class T1,
    class T2&gt;
bool
xref:BloombergLP/bslma/operator_not_eq-0e.adoc[operator!&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_not_eq-0e.adoc[_» more&period;&period;&period;_]#

Return `true` unless the specified `lhs` is a proxy for the specified `rhs`, in which case return `false`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
bool
xref:BloombergLP/bslma/operator_not_eq-0f.adoc[operator!&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_not_eq-0f.adoc[_» more&period;&period;&period;_]#

Return `true` unless the specified `rhs` is a proxy for the specified `lhs`, in which case return `false`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
bool
xref:BloombergLP/bslma/operator_not_eq-0a.adoc[operator!&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_not_eq-0a.adoc[_» more&period;&period;&period;_]#


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