[#BloombergLP-balcl-operator_eq-08]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balcl.adoc[balcl]::operator&equals;&equals;
:relfileprefix: ../../
:mrdocs:

Equality operators

== Synopses

Declared in `&lt;balcl&lowbar;commandline&period;h&gt;`

Return `true` if the `type` of the specified `lhs` and `rhs` are equal, and return `false` if they are not equal&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/balcl/operator_eq-0b1.adoc[operator&equals;&equals;](
    xref:BloombergLP/balcl/OptionValue_NullOf.adoc[OptionValue&lowbar;NullOf] const& lhs,
    xref:BloombergLP/balcl/OptionValue_NullOf.adoc[OptionValue&lowbar;NullOf] const& rhs);
----

[.small]#xref:BloombergLP/balcl/operator_eq-0b1.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` objects have the same value, and `false` otherwise&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/balcl/operator_eq-0d.adoc[operator&equals;&equals;](
    xref:BloombergLP/balcl/OptionValue.adoc[OptionValue] const& lhs,
    xref:BloombergLP/balcl/OptionValue.adoc[OptionValue] const& rhs);
----

[.small]#xref:BloombergLP/balcl/operator_eq-0d.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` have the same value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/balcl/operator_eq-07.adoc[operator&equals;&equals;](
    xref:BloombergLP/balcl/TypeInfo.adoc[TypeInfo] const& lhs,
    xref:BloombergLP/balcl/TypeInfo.adoc[TypeInfo] const& rhs);
----

[.small]#xref:BloombergLP/balcl/operator_eq-07.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` have the same value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/balcl/operator_eq-0a.adoc[operator&equals;&equals;](
    xref:BloombergLP/balcl/OccurrenceInfo.adoc[OccurrenceInfo] const& lhs,
    xref:BloombergLP/balcl/OccurrenceInfo.adoc[OccurrenceInfo] const& rhs);
----

[.small]#xref:BloombergLP/balcl/operator_eq-0a.adoc[_» more&period;&period;&period;_]#

Return whether `lhs` and `rhs` have the same value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/balcl/operator_eq-0b2.adoc[operator&equals;&equals;](
    xref:BloombergLP/balcl/OptionInfo.adoc[OptionInfo] const& lhs,
    xref:BloombergLP/balcl/OptionInfo.adoc[OptionInfo] const& rhs);
----

[.small]#xref:BloombergLP/balcl/operator_eq-0b2.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` have the same value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/balcl/operator_eq-09.adoc[operator&equals;&equals;](
    xref:BloombergLP/balcl/Option.adoc[Option] const& lhs,
    xref:BloombergLP/balcl/Option.adoc[Option] const& rhs);
----

[.small]#xref:BloombergLP/balcl/operator_eq-09.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` have the same value, and `false` otherwise&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/balcl/operator_eq-06.adoc[operator&equals;&equals;](
    xref:BloombergLP/balcl/CommandLine_SchemaData.adoc[CommandLine&lowbar;SchemaData] const& lhs,
    xref:BloombergLP/balcl/CommandLine_SchemaData.adoc[CommandLine&lowbar;SchemaData] const& rhs);
----

[.small]#xref:BloombergLP/balcl/operator_eq-06.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` have the same value, and `false` otherwise&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/balcl/operator_eq-0e.adoc[operator&equals;&equals;](
    xref:BloombergLP/balcl/CommandLineOptionsHandle.adoc[CommandLineOptionsHandle] const& lhs,
    xref:BloombergLP/balcl/CommandLineOptionsHandle.adoc[CommandLineOptionsHandle] const& rhs);
----

[.small]#xref:BloombergLP/balcl/operator_eq-0e.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` and `rhs` have the same value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/balcl/operator_eq-01.adoc[operator&equals;&equals;](
    xref:BloombergLP/balcl/CommandLine.adoc[CommandLine] const& lhs,
    xref:BloombergLP/balcl/CommandLine.adoc[CommandLine] const& rhs);
----

[.small]#xref:BloombergLP/balcl/operator_eq-01.adoc[_» more&period;&period;&period;_]#

== Return Value

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *lhs*
| left&hyphen;hand operand
| *rhs*
| right&hyphen;hand operand
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
