c++ 编译规范的相关规则: 简单版: (英文版)http://geosoft.no/development/cppstyle.html (中文版) https://www.cnblogs.com/amaoxiaozhu/archive/2012/02/29/2373141.html 详细版: https://zh-google-styleguide.readthedocs.io/en/latest/google-cpp-styleguide/scoping/