bsl::hashAppend

Append a string's representation to a hashing algorithm.

Synopsis

Declared in <bslstl_string.h>

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

Description

Pass the specified input string to the specified hashAlg hashing algorithm of the (template parameter) type HASHALG.

Parameters

NameDescription
hashAlghashing algorithm object
inputstring to hash