This is necessary for losing the parameter types, but still having the function callable with its expected parameters. I suspect this could be done using inline assembler and knowledge of the D ABI to achieve near-zero overhead.
The wrapper can include dynamic type checking using the automatically passed _arguments array to ensure type safety.
This is useful for dynamic dispatching.
--
Bye,
Gor Gyolchanyan.