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);
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);
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);
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);
Return Value
-
trueiflhsandrhshave the same value, andfalseotherwise -
trueiflhsandrhsshare the same mechanism object. -
trueiflhsis a proxy forrhs. -
trueifrhsis a proxy forlhs.
Parameters
Name |
Description |
lhs |
The left‐hand |
rhs |
The right‐hand |
Created with MrDocs