首页 | 官方网站   微博 | 高级检索  
     

C++位段安全的编译时实现
引用本文:Fedor Pikus,罗小平.C++位段安全的编译时实现[J].程序员,2008(6):91-95.
作者姓名:Fedor Pikus  罗小平
作者单位:[1]不详 [2]Mentor Graphics公司硅片设计分部LVS(layout vs schematics)和DFM(design for manufacturing)组的首席软件架构师
摘    要:本文讨论了一种将所有非法位操作以编译时错误方式暴露,从而保证运行时位操作安全的解决方案。

关 键 词:操作安全  编译  C++  位段  位操作

Safe Labels in C++
Abstract:This article presents a solution to the problem of constraining bit operations to allow only safe and legitimate ones,and turn all invalid bit manipulations into compile-time errors.
Keywords:
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号