TaggedAlgebraic.opEquals

Enables equality comparison with the stored value.

  1. auto ref opEquals(T other)
    struct TaggedAlgebraic(U)
    ref
    opEquals
    (
    T
    this TA
    )
    (
    auto ref T other
    )
    if (
    !is(Unqual!T == TaggedAlgebraic) &&
    hasOp!(TA, OpKind.binary, "==", T)
    )
    if (
    is(U == union) ||
    is(U == struct)
    ||
    is(U == enum)
    )
  2. bool opEquals(TaggedAlgebraic other)

Meta