[#BloombergLP-bslh-hashAppend-086] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslh.adoc[bslh]::hashAppend :relfileprefix: ../../ :mrdocs: Passes the specified `input` into the specified `hashAlg` to be combined into the internal state of the algorithm which is used to produce the resulting hash value. Note that the `enable_if` meta‐function is used to enable this `hashAppend` function for only `bool`, because `bool`s can have multiple `true` representations and need to be normalized before they can be hashed as a continuous sequence of bytes. == Synopsis Declared in `<bslh_hash.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class HASH_ALGORITHM, class TYPE> void hashAppend( HASH_ALGORITHM& hashAlg, TYPE input) requires bsl::is_same<TYPE, bool>::value; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#