[#BloombergLP-bslh-hashAppend-043] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslh.adoc[bslh]::hashAppend :relfileprefix: ../../ :mrdocs: If the specified `input` is engaged, pass its contained value into the specified `algorithm` to be combined into the internal state of the algorithm that is used to produce the resulting hash value. Otherwise, pass an arbitrary `size_t` value instead. Note that this behavior (for engaged values) is required by the C++ Standard. == Synopsis Declared in `<bslh_hashoptional.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class HASH_ALGORITHM, class TYPE> void hashAppend( HASH_ALGORITHM& algorithm, std::optional<TYPE> const& input); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#