[#BloombergLP-baljsn-operator_eq-0f8] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::operator== :relfileprefix: ../../ :mrdocs: Return `true` if the specified `lhs` and `rhs` have the same value. == Synopsis Declared in `<baljsn_encoder_testtypes.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool operator==( xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories.adoc[EncoderTestChoiceWithAllCategories] const& lhs, xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories.adoc[EncoderTestChoiceWithAllCategories] const& rhs); ---- [NOTE] ==== This function is a https://en.cppreference.com/w/cpp/language/friend[hidden friend] of xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories.adoc[EncoderTestChoiceWithAllCategories], declared only inside that class: it can be found only through argument-dependent lookup. ==== == Description Return 'true' if the specified 'lhs' and 'rhs' objects have the same value, and 'false' otherwise. Two 'EncoderTestChoiceWithAllCategories' objects have the same value if either the selections in both objects have the same ids and the same values, or both selections are undefined. == Return Value `true` if both objects 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]#