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

Synopsis

Declared in <balcl_commandline.h>

bool
operator!=(
    CommandLine const& lhs,
    CommandLine const& rhs);

Description

Two command‐line arguments do not have the same value if and only if they have different command‐line specifications, or one is parsed successfully but the other is not, or neither is, or else both have the same specification and both are parsed successfully but they have different values for at least one flag, option or non‐option argument. Note that two identical copies built with the same option table, but unparsed, are not equal.

Return Value

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

Parameters

Name

Description

lhs

left‐hand operand

rhs

right‐hand operand

Created with MrDocs