Function Overloading Implementation in C++

In this article the function overloading in object-oriented programming is elaborated and how they are implemented in C++. The language supports a variety of programming styles. Here we are describing the polymorphism and its types in brief. The main stress is given on the function overloading implementation styles in the language. The polymorphic nature of languages has advantages like that we can add new code without requiring changes to the other classes and interfaces (in Java language) are easily implemented. In this technique, the run-time overhead is also introduced in dynamic binding which increases the execution time of the software. But there are no such types of overheads in this static type of polymorphism because everything is resolved at the time of compile time. Polymorphism; Function Overloading; Static Polymorphism; Overloading; Compile Time Polymorphism.

[1]  E. Balagurusamy,et al.  Object Oriented Programming With C , 2004 .

[2]  Owen Astrachan,et al.  A Computer Science Tapestry , 1996 .

[3]  Joyce L. Vedral,et al.  Functional Programming Languages and Computer Architecture , 1989, Lecture Notes in Computer Science.

[4]  Luca Cardelli,et al.  On understanding types, data abstraction, and polymorphism , 1985, CSUR.

[5]  Mark P. Jones,et al.  Functional Programming with Overloading and Higher-Order Polymorphism , 1995, Advanced Functional Programming.

[6]  Simon L. Peyton Jones,et al.  Object-Oriented Style Overloading for Haskell , 2001, BABEL.

[7]  David A. Moon Object-oriented programming with flavors , 1986, OOPSLA 1986.

[8]  Cheng Wang,et al.  An Empirical Study of Function Overloading in C++ , 2008, 2008 Eighth IEEE International Working Conference on Source Code Analysis and Manipulation.

[9]  WegnerPeter,et al.  On understanding types, data abstraction, and polymorphism , 1985 .

[10]  Lennart Augustsson,et al.  Implementing Haskell overloading , 1993, FPCA '93.