The OpenD Programming Language

VariantN.opEquals

Comparison for equality used by the "==" and "!=" operators.

struct VariantN(size_t maxDataSize, AllowedTypesParam...)
const
bool
opEquals
(
T
)
(
auto ref T rhs
)
if (
allowed!T ||
is(immutable T == immutable VariantN)
)

Meta