How to pass unknown number of parameter in the function

In reply to zz8318:

If a method is non-virtual (which is the way you wrote my_parse), you can override a method with different arguments prototypes in each derived class.