MapIterator.Dgi

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 Dgi = int delegate(ref size_t i, ref Kref)
    template MapIterator(V, K = hash_t)
    static if(is(V == void))
    alias Dgi = int delegate(ref size_t i, ref Kref)
  2. alias Dgi = int delegate(ref size_t i, ref Kref, ref Vref)

Meta