2009 IEEE International Conference on Software Maintenance (2009)
Edmonton, AB, Canada
Sept. 20, 2009 to Sept. 26, 2009
Andrew Sutton , Department of Computer Science, Kent State University, Kent Ohio 44242
Ryan Holeman , Department of Computer Science, Kent State University, Kent Ohio 44242
Jonathan I. Maletic , Department of Computer Science, Kent State University, Kent Ohio 44242
A source code model that supports the static analysis of C++ templates and template metaprograms is presented. Analogous to techniques for object-oriented and procedural software (e.g., the abstraction of call graphs, inheritance hierarchies, etc.), this model provides a basis for maintenance concerns such as program comprehension, fact extraction, and impact analysis of generic code. The source code model is used to derive the template instantiation graph, and potential applications of this model discussed. An application to reverse engineer this model from source code is described.
J. I. Maletic, A. Sutton and R. Holeman, "Abstracting the template instantiation relation in C++," 2009 IEEE International Conference on Software Maintenance(ICSM), Edmonton, AB, Canada, 2009, pp. 559-562.