Contribute the specified object to the specified hashAlg.

Synopsis

Declared in <bdlt_datetimetz.h>

template<class HASHALG>
void
hashAppend(
    HASHALG& hashAlg,
    DatetimeTz 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 DatetimeTz. Note that two objects which represent the same UTC time but have different offsets will not (necessarily) hash to the same value.

Parameters

Name

Description

hashAlg

hashing algorithm to update

object

value to hash

Created with MrDocs