BloombergLP::bdlt::hashAppend

Contribute the specified object to the specified hashAlg.

Synopsis

Declared in <bdlt_timetz.h>

template<class HASHALG>
void
hashAppend(
    HASHALG& hashAlg,
    TimeTz const& object);

Description

Pass the specified object to the specified hashAlg. This function integrates with the bslh modular hashing system and effectively provides a bsl::hash specialization for TimeTz. Note that two objects which represent the same UTC time but have different offsets will not (necessarily) hash to the same value.

Parameters

NameDescription
hashAlghashing algorithm to update
objectobject to hash