UtfString.opApply

foreach iterator.

Exposes the following foreach parameters: size_t width = number of input characters for this unicode character size_t i = current index into the input string OutType c = the next unicode character in the string

  1. int opApply(int delegate(ref size_t, ref size_t, ref OutType) dg)
    struct UtfString(Char = char, bool pull_dchars = false)
    int
    opApply
    (
    scope int delegate
    (
    ref size_t
    ,
    ref size_t
    ,)
    dg
    )
  2. int opApply(int delegate(ref size_t, ref OutType) dg)
  3. int opApply(int delegate(ref OutType) dg)

Meta