BloombergLP::bdldfp::hashAppend

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 Decimal128. Note that two objects which have the same value but different representations will hash to the same value.

Synopsis

Declared in <bdldfp_decimal.h>

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