BloombergLP::bsltf::operator==

Return true if the specified lhs and rhs objects have the same value, and false otherwise.

Synopsis

Declared in <bsltf_wellbehavedmoveonlyalloctesttype.h>

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

Description

Two WellBehavedMoveOnlyAllocTestType 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