BloombergLP::bsltf::operator==

Return whether two objects have the same value.

Synopsis

Declared in <bsltf_stdalloctesttype.h>

template<class ALLOC>
bool
operator==(
    StdAllocTestType<ALLOC> const& lhs,
    StdAllocTestType<ALLOC> const& rhs);

Description

Return true if the specified lhs and rhs objects have the same value, and false otherwise. Two AllocTestType objects have the same if their data attributes are the same.

Return Value

true if lhs and rhs compare equal, else false

Parameters

NameDescription
lhsleft-hand operand
rhsright-hand operand