C++ 中 RAII 的正式处理和/或安全释放;
是否有关于 C++ 中 RAII 的正式处理和/或安全释放的研究论文?
Are there any research papers on formal treatment of RAII and/or safe deallocations in C++?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看看“C++ 对象构造和机械化语义”
破坏,及其在资源管理中的应用”(页面,不同的 PDF 版本),显然已提交给 POPL 2012;但是AFAIK 尚未经过同行评审,
有专门关于 RAII 的部分,尽管它可能无法证明您想要的内容:
免责声明:我只是简单地浏览了这篇论文,我对形式语言语义几乎一无所知。
Take a look at "A Mechanized Semantics for C++ Object Construction and
Destruction, with Applications to Resource Management" (page, different PDF version), which has apparently been submitted to POPL 2012; but AFAIK has not yet been peer reviewed.
There is a section specifically on RAII, although it may not prove what you want:
Disclaimer: I've only briefly skimmed the paper, and I know almost nothing about formal language semantics.