opEquals

Implementation for class opEquals override. Calls the class-defined methods after a null check. Please note this is not nogc right now, even if your implementation is, because of the typeinfo name string compare. This is because of dmd's dll implementation. However, it can infer to @safe if your class' opEquals is.

bool
opEquals
(
LHS
RHS
)
(
LHS lhs
,
RHS rhs
)
if (
(
is(LHS : const Object) ||
is(LHS : const shared Object)
)
&&
(
is(RHS : const Object) ||
is(RHS : const shared Object)
)
)

Meta