Append the engaged state and value of input to hashAlg.

Synopsis

Declared in <bdlb_nullablevalueref.h>

template<
    class HASHALG,
    class TYPE>
void
hashAppend(
    HASHALG& hashAlg,
    ConstNullableValueRef<TYPE> const& input);

Description

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.

Parameters

Name

Description

hashAlg

hashing algorithm to update

input

nullable wrapper to hash

Created with MrDocs