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

Synopsis

Declared in <bdlb_indexspan.h>

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

Description

Return true if the specified lhs and rhs index span objects have the same value, and false otherwise. Two index span objects have the same value if their position and length attributes compare equal.

Return Value

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

Parameters

Name

Description

lhs

left‐hand operand

rhs

right‐hand operand

Created with MrDocs