TaggedAlgebraic.opDispatch.opDispatch - multiple declarations
Function TaggedAlgebraic.opDispatch.opDispatch
Enables the invocation of methods of the stored value.
ref auto opDispatch(TA, ARGS...)
(
auto ref ARGS args
)
if (hasOp!(TA, OpKind .method, name, ARGS));
Function TaggedAlgebraic.opDispatch.opDispatch
Enables accessing properties/fields of the stored value.
ref auto opDispatch(TA, ARGS...)
(
auto ref ARGS args
) @property
if (hasOp!(TA, OpKind .field, name, ARGS) && !hasOp!(TA, OpKind .method, name, ARGS));