SumType.opEquals

Compares two SumTypes for equality.

Two SumTypes are equal if they are the same kind of SumType, they contain values of the same type, and those values are equal.

struct SumType(Types...)
bool
opEquals
(
this This
Rhs
)
(
auto ref Rhs rhs
)
if (
!is(CommonType!(This, Rhs) == void)
)

Meta