A mechanized semantics for C++ object construction and destruction, with applications to resource management

POPL(2012)

引用 18|浏览26
暂无评分
摘要
We present a formal operational semantics and its Coq mechanization for the C++ object model, featuring object construction and destruction, shared and repeated multiple inheritance, and virtual function call dispatch. These are key C++ language features for high-level system programming, in particular for predictable and reliable resource management. This paper is the first to present a formal mechanized account of the metatheory of construction and destruction in C++, and applications to popular programming techniques such as "resource acquisition is initialization". We also report on irregularities and apparent contradictions in the ISO C++03 and C++11 standards.
更多
查看译文
关键词
formal mechanized account,formal operational semantics,high-level system programming,resource acquisition,reliable resource management,object model,object construction,mechanized semantics,popular programming technique,iso c,key c,objects,multiple inheritance,c,resource manager,classes,operational semantics
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要