BloombergLP::balcl::operator==

Return true 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 have the same value if and only if they are both parsed successfully and have the same command-line specifications and the same values for flags, options, and non-option arguments. Note that two identical copies built with the same option table, but unparsed, are not equal.

Return Value

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

Parameters

NameDescription
lhsleft-hand operand
rhsright-hand operand