genOpCmp

Mixin helper to generate proper opCmp declaration. It differs between D1 and D2 runtime and not matching exact signature will result in weird segmentation faults from inside the runtime.

istring
genOpCmp
(
istring func_body
)

Parameters

func_body istring

code of opCmp as string. Must refer to argument as rhs

Return Value

Type: istring

full declaration/definition of opCmp that matches current compiler

Meta