- 注册
- 2003-11-11
- 消息
- 1,222
- 荣誉分数
- 92
- 声望点数
- 208
As we know we can overload a function in C++.
Any way to overload a function dynamically, for example, overload a function when a class is constructed, depends on some situation.(not type of parameters and return value) ?
In C, I would like to say, using a function point is an easy way, but I do not know if we can borrow overload concept to implement this functionality in C++.
Thanks,
---------------
I am a newer of C++.
Any way to overload a function dynamically, for example, overload a function when a class is constructed, depends on some situation.(not type of parameters and return value) ?
In C, I would like to say, using a function point is an easy way, but I do not know if we can borrow overload concept to implement this functionality in C++.
Thanks,
---------------
I am a newer of C++.
