Equality operators

Synopses

Declared in <balxml_decoderoptions.h>

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

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

Must be a friend for engineering reasons. Unlike most value‐semantic types, there is no efficient way to read the entire value of a namespace registry object.

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

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

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

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

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

Return Value

  • true if both objects have the same value, and false otherwise

  • true if both registries have the same value, and false otherwise

Parameters

Name

Description

lhs

left‐hand operand

rhs

right‐hand operand

Created with MrDocs