opDispatch.opDispatch

Enables the invocation of methods of the stored value.

  1. auto ref opDispatch(ARGS args)
    template opDispatch(string name)
    ref
    opDispatch
    (
    this TA
    ARGS...
    )
    (
    auto ref ARGS args
    )
    if (
    hasOp!(TA, OpKind.method, name, ARGS)
    )
    if (
    hasAnyMember!(TaggedAlgebraic, name)
    )
  2. ARGS opDispatch [@property setter]

Meta