Parameter._foreach

Expands tuples in args in depth first order. Calls dg(void *ctx, size_t argidx, Parameter *arg) for each Parameter. If dg returns !=0, stops and returns that value else returns 0. Use this function to avoid the O(N + N^2/2) complexity of calculating dim and calling N times getNth.

  1. int _foreach(Parameters* parameters, ForeachDg dg)
    class Parameter
    extern (D) static
    int
    _foreach
    (
    Parameters* parameters
    ,)
  2. int _foreach(Parameters* parameters, SemanticForeachDg dg)

Meta