BloombergLP::bslma::operator!=

Inequality operators

Synopses

Declared in <bslma_managedptrdeleter.h>

Return true if the specified lhs and rhs objects do not have the same value, and false otherwise. 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.

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

Return true unless the specified lhs and rhs are proxies for the same bslma::TestAllocator object, in which case return false. 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. Note that the two allocators need not be instantiated on the same type in order to compare equal.

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

Return true unless the specified lhs is a proxy for the specified rhs, in which case return false.

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

Return true unless the specified rhs is a proxy for the specified lhs, in which case return false.

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