Is it even possible? I have a c++ class that has quite a few overload operators with various parameters. example:
Code:
void operator+(int x);
void operator+(long x);
void operator+(unsigned int x);
void operator+(unsigned long x);
...
Is there a way to do the same thing with one template? If yes, could you post an example?

Thanks