Append the engaged state and value of input to hashAlg.
Declared in <bdlb_nullablevalueref.h>
template<
class HASHALG,
class TYPE>
void
hashAppend(
HASHALG& hashAlg,
NullableValueRef<TYPE> const& input);
Pass the boolean value of whether the specified input references a non-empty nullable value to the specified hashAlg hashing algorithm of (template parameter) type HASHALG. If input.has_value is true, additionally pass the value to hashAlg.
| Name | Description |
|---|---|
| hashAlg | hashing algorithm to update |
| input | nullable wrapper to hash |