I defined a function:
void myfunc(size_t param1, size_t param2){ ... }
It works great. But when I try to overload this function
void myfunc(unsigned long param1, unsigned long param2){ ... }
Cannot compile with the following message: error: myfunc (unsigned long param1, unsigned long param2) cannot be overloaded.
How can I solve this problem without staic_cast input parameters in size_t?
thanks!
source share