Dear all,
I would like to ask if it is possible to have a template function as a general function for two functions that have a different return type.
For example:
int AddNumbers(int a, int b);
float AddFloats(float a, float b);
What would it be the template function for the above example?
Regards,
grscot
I would like to ask if it is possible to have a template function as a general function for two functions that have a different return type.
For example:
int AddNumbers(int a, int b);
float AddFloats(float a, float b);
What would it be the template function for the above example?
Regards,
grscot