Vector.opDispatch

Get/set vector by access string.

only: if( AS.length > 0 && isOneSymbolPerFieldForAnyAccessString(AS,VVASES,VVASVS) )

  1. T opDispatch [@property getter]
  2. T opDispatch [@property getter]
  3. auto opDispatch [@property getter]
    struct Vector(size_t N, T, alias string AS = "")
    pure @property const
    static if(AS.length > 0)
    static if(isOneSymbolPerFieldForAnyAccessString(AS, VVASES, VVASVS))
    opDispatch
    (
    string v
    )
    ()
    if (
    v.length > 1 &&
    oneOfAnyAccessAll(AS, v, VVASES, VVASVS)
    )
    if (
    isCompatibleArrayAccessStrings(N, AS, VVASES, VVASVS) ||
    AS.length == 0
    )
  4. U opDispatch [@property setter]

Meta