Less‐than‐or‐equal operators

Synopses

Declared in <bdld_datumbinaryref.h>

Return true if the specified lhs compares smaller than or equal to the specified rhs, and false otherwise. A byte comparision is performed using memcpy.

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

Return true if value of the specified lhs is less than or equal to value of the specified rhs and false otherwise. Value of lhs is less than or equal to value of rhs if error code value of lhs is less than or equal to error code value of rhs, or they have the same error code value and error message value of lhs is less than or equal to error message value of rhs.

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

Return true if value of the specified lhs is less than or equal to value of the specified rhs and false otherwise. Value of lhs is less than or equal to value of rhs, if data value of lhs is less than or equal to data value of rhs, or they have the same data value and type value of lhs is less than or equal to type value of rhs.

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

Created with MrDocs