11
I was wondering how to do this:
func(param1|param2|param3)
and then extract those values in the function, I have seen this in multiple functions, or is it better to do this:
func(param1, ...)
?
I am trying to do this in C++, and I was thinking of having the parameters to the function as values in a enum.
How do I solve this?