• 软件测试技术
  • 软件测试视频
  • 开源软件测试技术
  • 软件测试沙龙
  • 软件测试资料下载
  • 软件测试杂志
  • 软件测试人才招聘

字号: | 推荐给好友 上一篇 | 下一篇

Google C++ Style Guide

发布: 2008-7-07 12:32 | 作者: Google | 来源: 领测软件测试网采编 | 查看: 229次 | 进入软件测试论坛讨论

领测软件测试网

e-W oBs j [9v

Preprocessor Macros

Be very cautious with macros. Prefer inline functions, enums, and const variables to macros.
9o w$E@5Z$j*j link

^ }l6P#l;}8`6J Macros mean that the code you see is not the same as the code the compiler sees. This can introduce unexpected behavior, especially since macros have global scope.

l'h(\1L