Vec.opDispatch

Access the component by name.

  1. T opDispatch [@property getter]
    struct Vec(T, size_t N)
    @property const
    T
    opDispatch
    (
    string name
    )
    ()
    if (
    name.length == 1
    )
    if (
    N > 0 &&
    isNumeric!T
    )
  2. T opDispatch [@property setter]
  3. auto opDispatch [@property getter]
  4. Vec!(U, num) opDispatch [@property setter]

Meta