MapIterator.Dg

Alias definitions of the Vref, the bucket element and the delegate type.

Vref is - a dynamic array of the base type of V if V is a static array, - not defined at all if V is 'void' - V itself otherwise.

The delegate complies to the opApply() iteration delegate and iterates over Kref only if V is 'void' or over Kref and Vref otherwise.

  1. alias Dg = int delegate(ref Kref)
    template MapIterator(V, K = hash_t)
    static if(is(V == void))
    alias Dg = int delegate(ref Kref)
  2. alias Dg = int delegate(ref Kref, ref Vref)

Meta