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(TypeArgs...)
const
bool
opEquals
(
const SumType rhs
)
if (
is(NoDuplicates!TypeArgs == TypeArgs) &&
TypeArgs.length > 0
)

Meta