Return whether the two objects have the same value.

Synopsis

Declared in <bsltf_moveonlyalloctesttype.h>

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

Description

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

Return Value

true if lhs and rhs compare equal, else false

Parameters

Name

Description

lhs

left‐hand side object

rhs

right‐hand side object

Created with MrDocs