Pass the specified input string to the specified hashAlg hashing algorithm of the (template parameter) type HASHALG. 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. This is necessary in order to provide an implementation of bslh::hashAppend for the (native) standard library string type as we are not allowed to add overloads directly into namespace std, and this component essentially provides the interface between bsl and std string types.

Synopsis

Declared in <bslstl_string.h>

template<
    class HASHALG,
    class CHAR_TYPE,
    class CHAR_TRAITS,
    class ALLOCATOR>
void
hashAppend(
    HASHALG& hashAlg,
    std::basic_string<CHAR_TYPE, CHAR_TRAITS, ALLOCATOR> const& input);

Created with MrDocs