bsl::hashAppend

hashAppend overloads

Synopses

Declared in <bslstl_optional.h>

Pass the specified object to the specified hashAlg.

template<class HASHALG>
void
hashAppend(
    HASHALG& hashAlg,
    type_index const& object);
» more...

Incorporate the address referred to by input into hashAlg.

template<
    class HASHALG,
    class ELEMENT_TYPE>
void
hashAppend(
    HASHALG& hashAlg,
    shared_ptr<ELEMENT_TYPE> const& input);
» more...

Pass the specified input to the specified hashAlg, where hashAlg is a hashing algorithm.

template<
    class t_HASHALG,
    class t_TYPE>
void
hashAppend(
    t_HASHALG& hashAlg,
    optional<t_TYPE> const& input);
» more...

Pass the specified input to the specified hashAlg

template<
    class HASHALG,
    class T1,
    class T2>
void
hashAppend(
    HASHALG& hashAlg,
    pair<T1, T2> const& input);
» more...

Pass the specified input to the specified hashAlg.

template<
    class HASHALG,
    class VALUE_TYPE,
    class ALLOCATOR>
void
hashAppend(
    HASHALG& hashAlg,
    vector<VALUE_TYPE, ALLOCATOR> const& input);
» more...

Pass the specified input to the specified hashAlg, where hashAlg is a hashing algorithm.

template<
    class t_HASHALG,
    class t_HEAD,
    class... t_TAIL>
void
hashAppend(
    t_HASHALG& hashAlg,
    variant<t_HEAD, t_TAIL...> const& input);
» more...

Append a string's representation to a hashing algorithm.

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

Parameters

NameDescription
hashAlghashing algorithm to update
objecttype_index value to incorporate into the hash
inputshared pointer whose address is hashed