Equality operators
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.
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, and false otherwise.
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, and false otherwise.
template<class TYPE>
bool
operator==(
TestAllocator const* lhs,
StdTestAllocator<TYPE> const& rhs);
» more...
true if lhs and rhs share the same mechanism object.
| Name | Description |
|---|---|
| lhs | The left-hand test allocator operand. |
| rhs | The right-hand test allocator operand. |