BloombergLP::baljsn::hashAppend

Incorporate object into the specified hashAlg.

Synopsis

Declared in <baljsn_encoder_testtypes.h>

void
hashAppend(
    t_HASH_ALGORITHM& hashAlg,
    EncoderTestAddress 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 'EncoderTestAddress'.

Parameters

NameDescription
hashAlghashing algorithm to update
objectobject to incorporate into the hash