AbslHashValue overloads

Synopses

Declared in <absl/container/inlined_vector.h>

Combines this duration into a hash state.

H
AbslHashValue(
    H h,
    Duration d);

Computes a hash value for x, combining it into the hash state h.

Hashes the span's elements for use with absl::Hash.

H
AbslHashValue(
    H h,
    Span v);

Combines this time into a hash state.

H
AbslHashValue(
    H h,
    Time t);

Combines this time zone into a hash state.

H
AbslHashValue(
    H h,
    TimeZone tz);

Combines this value into a hash state, supporting absl::Hash.

H
AbslHashValue(
    H h,
    int128 v);

Combines this value into a hash state, supporting absl::Hash.

H
AbslHashValue(
    H h,
    uint128 v);

Combines the contents of the fixed array into a hash state.

H
AbslHashValue(
    H h,
    FixedArray const& v);

Provides absl::Hash support for absl::InlinedVector.

Combines the Cord's contents into a hash state.

H
AbslHashValue(
    H hash_state,
    absl::Cord const& c);

Hashes the span's elements for use with absl::Hash.

constexpr
H
AbslHashValue(
    H state,
    AnySpan any_span);

Provides absl::Hash support for absl::InlinedVector. It is uncommon to call this directly.

template<
    typename H,
    typename T,
    size_t N,
    typename A>
H
AbslHashValue(
    H h,
    absl::InlinedVector<T, N, A> const& a);

Return Value

  • The updated hash state.

  • The combined hash state.

Template Parameters

Name

Description

H

The hash state type.

Parameters

Name

Description

h

The hash state to combine into.

d

The duration to hash.

x

The value to hash.

v

The span whose elements are hashed.

t

The time to hash.

tz

The time zone to hash.

a

The inlined vector to hash.

hash_state

The hash state to combine into.

c

The Cord being hashed.

state

The hash state to combine into.

any_span

The span whose elements are hashed.

Created with MrDocs