BloombergLP::bdlb::operator==

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

NameDescription
lhsleft-hand operand
rhsright-hand operand