Is it possible to prevent overloading user-defined functions in C ++? Suppose I have a function:
void foo(int , int);
Can I prevent overloading foo, and if so, how? If possible, can this be expanded to prevent overriding methods through inheritance?
Rahul
source
share