MapIterator.Element

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 Element = Bucket!(cast(size_t)0, K).Element
    template MapIterator(V, K = hash_t)
    static if(is(V == void))
    alias Element = Bucket!(cast(size_t)0, K).Element
  2. alias Element = Bucket!(V.sizeof, K).Element

Meta