TaggedAlgebraic.opBinaryRight

Enables the use of binary operators with the stored value.

  1. auto ref opBinaryRight(T other)
    struct TaggedAlgebraic(U)
    ref
    opBinaryRight
    (
    string op
    T
    this TA
    )
    (
    auto ref T other
    )
    if (
    hasOp!(TA, OpKind.binaryRight, op, T) &&
    !isInstanceOf!(TaggedAlgebraic, T)
    )
    if (
    is(U == union) ||
    is(U == struct)
    ||
    is(U == enum)
    )
  2. auto ref opBinaryRight(T other)

Meta