Author :
Kumar, Ajit ; Sutton, Andrew ; Stroustrup, B.
Author_Institution :
Comput. Sci. Eng., Texas A&M Univ., College Station, TX, USA
Abstract :
C++ programs can be rejuvenated by replacing error-prone usage of the C Preprocessor macros with type safe C++11 declarations. We have developed a classification of macros that directly maps to corresponding C++11 expressions, statements, and declarations. We have built a set of tools that replaces macros with equivalent C++ declarations and iteratively introduces the refactorings into the software build.
Keywords :
C++ language; macros; software maintenance; C preprocessor macros; C++ programs; C++11 declarations; demacrofier; error-prone usage; software build refactorings; Computer science; Conferences; Educational institutions; Electronic mail; Libraries; Software maintenance; C++11; demacrofication; macros; refactoring; source code rejuvenation;
Conference_Titel :
Software Maintenance (ICSM), 2012 28th IEEE International Conference on
Conference_Location :
Trento
Print_ISBN :
978-1-4673-2313-0
DOI :
10.1109/ICSM.2012.6405347