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...)
private public
bool
opEquals
(
this This
Rhs
)
(
auto ref Rhs rhs
)
if (
!is(CommonType!(This, Rhs) == void)
)
if (
is(NoDuplicates!Types == Types) &&
)

Meta