absl::HashState::combine_contiguous

Combine a contiguous array of elements into a hash state.

Synopses

Declared in <absl/hash/hash.h>

Combine a contiguous array of elements into a hash state.

static
HashState
combine_contiguous(
    HashState hash_state,
    unsigned char const* first,
    size_t size);
» more...
template<typename T>
static
HashState
combine_contiguous(
    HashState state,
    T const* data,
    size_t size);
» more...

Return Value

The updated hash state.

Parameters

NameDescription
hash_stateThe hash state to update.
firstA pointer to the first byte of the array.
sizeThe number of bytes in the array.