[#BloombergLP-bdlb-operator_eq-03c1] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::operator== :relfileprefix: ../../ :mrdocs: If neither of the specified `lhs` and `rhs` contain a value, return `true`. If one contains a value, and the other does not, return `false`. Otherwise, return `lhs.value == rhs.value()`. == Synopsis Declared in `<bdlb_nullableallocatedvalue.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class LHS_TYPE, class RHS_TYPE> bool operator==( xref:BloombergLP/bdlb/NullableAllocatedValue.adoc[NullableAllocatedValue<LHS_TYPE>] const& lhs, xref:bsl/optional-072.adoc[bsl::optional<RHS_TYPE>] const& rhs); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#