Equality operators

Synopses

Declared in <bdld_datum.h>

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

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

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

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

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

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

Return whether lhs and rhs represent the same value.

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

Return whether lhs and rhs have the same value.

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

Return whether lhs and rhs have the same value.

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

Return whether lhs and rhs have the same value.

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

Return whether lhs and rhs have the same value.

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

Return whether lhs and rhs have the same value.

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

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

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

Return Value

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

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

  • 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