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 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.

Parameters

RawContext: type,
PseudoKey: type,
Key: type,
Hash: type,
is_array: bool,