[#BloombergLP-bdld-operator_eq-0b] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdld.adoc[bdld]::operator== :relfileprefix: ../../ :mrdocs: Return `true` if the specified `lhs` and `rhs` have the same value and `false` otherwise. == Synopsis Declared in `<bdld_datumerror.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool operator==( xref:BloombergLP/bdld/DatumError.adoc[DatumError] const& lhs, xref:BloombergLP/bdld/DatumError.adoc[DatumError] const& rhs); ---- == Description Two `DatumError` objects have the same value if they have same error code and message values. == 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]#