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

Synopsis

Declared in <bdlb_bigendian.h>

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

Description

Return true if the specified lhs and rhs BigEndianUint16 objects have the same value, and false otherwise. Two BigEndianUint16 objects have the same value if and only if the respective integral network byte‐order values that they represent have the same value.

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