Pass the specified object to the specified hashAlg.

Synopsis

Declared in <bslstl_typeindex.h>

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

Description

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

Parameters

Name

Description

hashAlg

hashing algorithm to update

object

type_index value to incorporate into the hash

Created with MrDocs