yes you can in C++
When you define a class library, you can overload parameters like (+, -, =, *, /). I think I remember something like that. It has been a long ass time.
**EDIT**
I think it is called operator overloading.
But as the next post says, I am not sure if that is what the question is asking.