[#BloombergLP-balcl-operator_eq-08] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balcl.adoc[balcl]::operator== :relfileprefix: ../../ :mrdocs: Equality operators == Synopses Declared in `<balcl_commandline.h>` Return `true` if the `type` of the specified `lhs` and `rhs` are equal, and return `false` if they are not equal. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/balcl/operator_eq-0b1.adoc[operator==]( xref:BloombergLP/balcl/OptionValue_NullOf.adoc[OptionValue_NullOf] const& lhs, xref:BloombergLP/balcl/OptionValue_NullOf.adoc[OptionValue_NullOf] const& rhs); ---- [.small]#xref:BloombergLP/balcl/operator_eq-0b1.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` objects have the same value, and `false` otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/balcl/operator_eq-0d.adoc[operator==]( 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..._]# Return `true` if the specified `lhs` and `rhs` have the same value. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/balcl/operator_eq-07.adoc[operator==]( 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..._]# Return `true` if the specified `lhs` and `rhs` have the same value. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/balcl/operator_eq-0a.adoc[operator==]( 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..._]# Return whether `lhs` and `rhs` have the same value. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/balcl/operator_eq-0b2.adoc[operator==]( 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..._]# Return `true` if the specified `lhs` and `rhs` have the same value. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/balcl/operator_eq-09.adoc[operator==]( 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..._]# Return `true` if the specified `lhs` and `rhs` have the same value, and `false` otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/balcl/operator_eq-06.adoc[operator==]( xref:BloombergLP/balcl/CommandLine_SchemaData.adoc[CommandLine_SchemaData] const& lhs, xref:BloombergLP/balcl/CommandLine_SchemaData.adoc[CommandLine_SchemaData] const& rhs); ---- [.small]#xref:BloombergLP/balcl/operator_eq-06.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` have the same value, and `false` otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/balcl/operator_eq-0e.adoc[operator==]( 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..._]# Return `true` if the specified `lhs` and `rhs` have the same value. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/balcl/operator_eq-01.adoc[operator==]( 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..._]# == 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‐hand operand | *rhs* | right‐hand operand |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#