Return whether lhs and rhs have the same value.

Synopsis

Declared in <bdljsn_json.h>

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

Description

Return true if the specified lhs and rhs objects have the same value, and false otherwise. Two JsonArray objects lhs and rhs have the same value if they have the same number of elements, and each element in the ordered sequence of elements of lhs has the same value as the corresponding element in the ordered sequence of elements of rhs.

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