[#BloombergLP-bslh-hashAppend-032] = 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 integral (excluding `bool`), pointer, and enum types, because these types can all be hashed as a continuous sequence of bytes. Also note that this function is defined inline because MS Visual Studio compilers before 2013 require (some) functions declared using enable_if be in‐place inline. == 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_integral<TYPE>::value || bsl::is_pointer<TYPE>::value || bsl::is_enum<TYPE>::value) && !bsl::is_same<TYPE, bool>::value; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#