absl::AbslHashValue

AbslHashValue overloads

Synopses

Declared in <absl/container/inlined_vector.h>

Combines this duration into a hash state.

H
AbslHashValue(
    H h,
    Duration d);
» more...

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

H
AbslHashValue(
    H h,
    FastTypeIdType x);
» more...

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

H
AbslHashValue(
    H h,
    Span v);
» more...

Combines this time into a hash state.

H
AbslHashValue(
    H h,
    Time t);
» more...

Combines this time zone into a hash state.

H
AbslHashValue(
    H h,
    TimeZone tz);
» more...

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

H
AbslHashValue(
    H h,
    int128 v);
» more...

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

H
AbslHashValue(
    H h,
    uint128 v);
» more...

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

H
AbslHashValue(
    H h,
    FixedArray const& v);
» more...

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

H
AbslHashValue(
    H h,
    absl::InlinedVector<TheT, TheN, TheA> const& a);
» more...

Combines the Cord's contents into a hash state.

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

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

constexpr
H
AbslHashValue(
    H state,
    AnySpan any_span);
» more...

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);
» more...

Return Value

  • The updated hash state.
  • The combined hash state.

Template Parameters

NameDescription
HThe hash state type.

Parameters

NameDescription
hThe hash state to combine into.
dThe duration to hash.
xThe value to hash.
vThe span whose elements are hashed.
tThe time to hash.
tzThe time zone to hash.
aThe inlined vector to hash.
hash_stateThe hash state to combine into.
cThe Cord being hashed.
stateThe hash state to combine into.
any_spanThe span whose elements are hashed.