TaggedAlgebraic.opDispatch

Enables the invocation of methods of the stored value.

  1. auto opDispatch(auto ref ARGS args)
    struct TaggedAlgebraic(U)
    opDispatch
    (
    string name
    this TA
    ARGS...
    )
    (
    auto ref ARGS args
    )
    if (
    hasOp!(TA, OpKind.method, name, ARGS)
    )
    if (
    is(U == union) ||
    is(U == struct)
    )
  2. ARGS opDispatch [@property setter]

Meta