BloombergLP::bdlma::operator==

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

Synopsis

Declared in <bdlma_memoryblockdescriptor.h>

bool
operator==(
    MemoryBlockDescriptor const& lhs,
    MemoryBlockDescriptor const& rhs);

Description

Return true if the specified lhs and rhs memory block descriptors have the same value and false otherwise. Two descriptors have the same value if and only if they have the same address and size.

Return Value

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

Parameters

NameDescription
lhsleft-hand operand
rhsright-hand operand