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.

string
genOpCmp
(
string func_body
)

Parameters

func_body string

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

Return Value

Type: string

full declaration/definition of opCmp that matches current compiler

Meta