Node.opApply

Foreach over a mapping, getting each key/value as K/V.

If the K and/or V is Node, simply iterate over the nodes in the mapping. Otherwise, convert each key/value to T during iteration.

  1. int opApply(int delegate(ref T) dg)
  2. int opApply(int delegate(ref K, ref V) dg)
    struct Node
    int
    opApply
    @trusted
    (
    K
    V
    )
    (
    int delegate(
    ref K
    ,
    ref V
    )
    dg
    )

Throws

NodeException if the node is not a mapping or an element could not be converted to specified type.

Meta