[#BloombergLP-baljsn-operator_eq-008] = 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/EncoderTestAddress.adoc[EncoderTestAddress] const& lhs, xref:BloombergLP/baljsn/EncoderTestAddress.adoc[EncoderTestAddress] const& rhs); ---- [NOTE] ==== This function is a https://en.cppreference.com/w/cpp/language/friend[hidden friend] of xref:BloombergLP/baljsn/EncoderTestAddress.adoc[EncoderTestAddress], declared only inside that class: it can be found only through argument-dependent lookup. ==== == Description Return 'true' if the specified 'lhs' and 'rhs' attribute objects have the same value, and 'false' otherwise. Two attribute objects have the same value if each respective attribute has the same value. == 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]#