I want to write several functions that are only different in the types of arguments. I know C++ has template to handle this problem well (not very well yet thou
I would also propose Solution 4: write a code generation tool.
Pros:
Cons: