Namespaces

Functions

fn eqlString(a: []const u8, b: []const u8) bool

No documentation provided.

fn getAutoEqlFn(comptime K: type, comptime Context: type) (fn (Context, K, K) bool)

No documentation provided.

fn getAutoHashFn(comptime K: type, comptime Context: type) (fn (Context, K) u64)

No documentation provided.

fn hashString(s: []const u8) u64

No documentation provided.

fn verifyContext(comptime RawContext: type, comptime PseudoKey: type, comptime Key: type, comptime Hash: type, comptime is_array: bool) void

This function issues a compile error with a helpful message if there is a probl…

This function issues a compile error with a helpful message if there is a problem with the provided context type. A context must have the following member functions:

  • hash(self, PseudoKey) Hash
  • eql(self, PseudoKey, Key) bool If you are passing a context to a *Adapted function, PseudoKey is the type of the key parameter. Otherwise, when creating a HashMap or HashMapUnmanaged type, PseudoKey = Key = K.

Values