override overload hide in C++
First,let’s see an example of overload in C++ :
void foo(int i) {} void foo(float f) {} void foo(double d) {} int main() { int i = 0; float f = 0.00; double d = 0.00; foo(i); foo(f); foo(d); return 0; }
Compile it to assembly :
blog comments powered by Disqus