An Empirical Study of Function Overloading in C++

10 years 4 months ago
An Empirical Study of Function Overloading in C++
The usefulness and usability of programming tools (for example, languages, libraries, and frameworks) may greatly impact programmer productivity and software quality. Ideally, these tools should be designed to be both useful and usable. But in reality, there always exist some tools or features whose essential characteristics can be fully understood only after they have been extensively used. The study described in this paper is focused on discovering how C++’s function overloading is used in production code using an instrumented g++ compiler. Our principal finding for the system studied is that the most ‘advanced’ subset of function overloading tends to be defined in only a few utility modules, which are probably developed and maintained by a small number of programmers, the majority of application modules use only the ‘easy’ subset of function overloading when overloading names, and most overloaded names are used locally within rather than across module interfaces. We rec...
Cheng Wang, Daqing Hou
Added 01 Jun 2010
Updated 01 Jun 2010
Type Conference
Year 2008
Where SCAM
Authors Cheng Wang, Daqing Hou
Comments (0)