Inequality operators

Synopses

Declared in <bslma_managedptrdeleter.h>

Return true if the specified lhs and rhs do not have the same value.

bool
operator!=(
    ManagedPtrDeleter const& lhs,
    ManagedPtrDeleter const& rhs);

Return true unless lhs and rhs share the same mechanism.

template<
    class T1,
    class T2>
bool
operator!=(
    StdTestAllocator<T1> const& lhs,
    StdTestAllocator<T2> const& rhs);

Return true unless the specified lhs is a proxy for rhs.

template<class TYPE>
bool
operator!=(
    StdTestAllocator<TYPE> const& lhs,
    TestAllocator const* rhs);

Return true unless the specified rhs is a proxy for lhs.

template<class TYPE>
bool
operator!=(
    TestAllocator const* lhs,
    StdTestAllocator<TYPE> const& rhs);

Return Value

  • true if lhs and rhs do not have the same value, and false otherwise

  • true unless lhs and rhs share the same mechanism object.

  • true unless lhs is a proxy for rhs.

  • true unless rhs is a proxy for lhs.

Parameters

Name

Description

lhs

The left‐hand ManagedPtrDeleter operand.

rhs

The right‐hand ManagedPtrDeleter operand.

Created with MrDocs