TaggedAlgebraic.opDispatch

Enables the access to methods and propeties/fields 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]

Members

Functions

opDispatch
auto ref opDispatch(ARGS args)

Enables the invocation of methods of the stored value.

Properties

opDispatch
ARGS opDispatch [@property setter]

Enables accessing properties/fields of the stored value.

Meta