BloombergLP::bslma::operator==

Equality operators

Synopses

Declared in <bslma_managedptrdeleter.h>

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

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

Return true if the specified lhs and rhs are proxies for the same bslma::TestAllocator object.

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

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

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

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

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

Return Value

  • true if lhs and rhs have the same value, and false otherwise
  • true if lhs and rhs share the same mechanism object.
  • true if lhs is a proxy for rhs.
  • true if rhs is a proxy for lhs.

Parameters

NameDescription
lhsThe left-hand ManagedPtrDeleter operand.
rhsThe right-hand ManagedPtrDeleter operand.