bsl::hashAppend

hashAppend overloads

Synopses

Declared in <bslstl_optional.h>

Pass the specified object to the specified hashAlg. This function integrates with the bslh modular hashing system and effectively provides a bsl::hash specialization for type_index.

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

Pass the address of the object referred to by the specified input shared pointer to the specified hashAlg hashing algorithm of (template parameter) type 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...

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

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...