[#BloombergLP-bslh-hashAppend-08c]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslh.adoc[bslh]::hashAppend
:relfileprefix: ../../
:mrdocs:

Pass the specified `input` path to the specified `hashAlg` hashing algorithm of the (template parameter) type `HASHALG`&period; Note that this function violates the BDE coding standard, adding a function for a namespace for a different package, and none of the function parameters are from this package either&period; This is necessary in order to provide an implementation of `bslh&colon;&colon;hashAppend` for the (native) standard library `std&colon;&colon;filesystem&colon;&colon;path` type as we are not allowed to add overloads directly into namespace `std`&period; Also note that this will NOT be found by the compiler if HASHALG is not in `BloombergLP&colon;&colon;bslh`&period;

== Synopsis

Declared in `&lt;bslh&lowbar;filesystem&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class HASHALG&gt;
void
hashAppend(
    HASHALG& hashAlg,
    std::filesystem::path const& path);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
