Contribute the specified object to the specified hashAlg.
Synopsis
Declared in <bdlt_datetz.h>
template<class HASHALG>
void
hashAppend(
HASHALG& hashAlg,
DateTz 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 DateTz. 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 |
object to hash |
Created with MrDocs