I have a function that takes 3 determined parameters and one additional parameter.
In Matlab, I can use nargin < 4 to distinguish the case with the addtional parameter and that without the addtional parameter.
How can I implement a function in C++ imitating this behavior?
I found parameter pack / variadic parameter may be helpful, but I have no idea how to use it.
Can someone shed some info to me?