首页> 外文会议>IEEE International Conference on Software Maintenance >Rejuvenating C#x002B;#x002B; programs through demacrofication
【24h】

Rejuvenating C#x002B;#x002B; programs through demacrofication

机译:通过DemAcrofication恢复C ++程序

获取原文

摘要

We describe how legacy C++ programs can be rejuvenated using C++11 features such as generalized constant expressions, perfect forwarding, and lambda expressions. In general, this work develops a correspondence between different kinds of macros and the C++ declarations to which they should be transformed. We have created a set of demacrofication tools to assist a developer in the rejuvenation of C++ programs. To evaluate the work, we have applied the rejuvenation tools to a number of C++ libraries to assess the extent to which these libraries might be improved by demacrofication. Results indicate that between 68 and 98% of potentially refactorable macros could be transformed into C++11 declarations. Additional experiments demonstrate why these numbers are not readily achieved using fully automated rejuvenation tools. We also discuss some techniques to further assist in automating rejuvenation process.
机译:我们描述了如何使用C ++ 11功能恢复遗留C ++程序,例如广义常数表达式,完美转发和Lambda表达式。通常,这项工作在不同类型的宏与应转换的C ++声明之间开发了对应关系。我们创建了一组DemAcrofoxication工具,以帮助开发人员在恢复C ++程序中。为了评估工作,我们已将恢复工具应用于许多C ++库,以评估通过脱映射可以提高这些库的程度。结果表明,在C ++ 11声明中,可能会转换为68到98%的潜在重新吸引力的宏。附加实验展示了使用全自动恢复工具不容易实现这些数字的原因。我们还讨论了一些技术,以进一步协助自动化复兴过程。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号