[#BloombergLP-ball-operator_eq-010] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::operator== :relfileprefix: ../../ :mrdocs: Return `true` if the specified `lhs` and `rhs` objects have the same value, and `false` otherwise. == Synopsis Declared in `<ball_userfields.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool operator==( xref:BloombergLP/ball/UserFields.adoc[UserFields] const& lhs, xref:BloombergLP/ball/UserFields.adoc[UserFields] const& rhs); ---- == Description Two `ball::UserFields` objects have the same value if they have the same number of elements, and each element in `lhs` has the same value as corresponding element at the same index in `rhs`. == Return Value `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]#