BloombergLP::bdlb::hashAppend

Pass the specified input to the specified hashAlg hashing algorithm.

Synopsis

Declared in <bdlb_nullableallocatedvalue.h>

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

Description

Pass the boolean value of whether the specified input contains a value to the specified hashAlg hashing algorithm of (template parameter) type HASHALG. If input contains a value, additionally pass that value to hashAlg.

Parameters

NameDescription
hashAlghashing algorithm object
inputnullable value to hash