BloombergLP::bdlt::hashAppend

Invoke the specified hashAlg on the specified Time object.

Synopsis

Declared in <bdlt_time.h>

template<class HASHALG>
void
hashAppend(
    HASHALG& hashAlg,
    Time 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 Time.

Parameters

NameDescription
hashAlghashing algorithm functor
objecttime value to hash