SliceBuffer.opApply

foreach iterator over the items which have been added to the buffer and their indices.

  1. int opApply(int delegate(ref T[]) dg)
  2. int opApply(int delegate(ref size_t, ref T[]) dg)
    class SliceBuffer(T)
    int
    opApply
    (
    scope int delegate
    (
    ref size_t
    ,
    ref T[]
    )
    dg
    )

Meta