Mixin helper to generate proper opEquals declaration. It differs between D1 and D2 runtime and not matching exact signature will result in the default version, defined by the compiler, to be silently called instead.
code of opEquals as string. Must refer to argument as rhs
full declaration/definition of opEquals that matches current compiler
See Implementation
Mixin helper to generate proper opEquals declaration. It differs between D1 and D2 runtime and not matching exact signature will result in the default version, defined by the compiler, to be silently called instead.