爱站内页反链
爱站首页反链
神马是否收录
360网站安全检测
搜狗是否收录
360是否收录
百度是否收录
百度年收录
网站年龄
百度安全
百度查询
导出链接
网站ip查询
网站ICP备案批量查询
搜狗快照
百度快照
百度反链批量查询
搜狗PR批量查询
谷歌PR批量查询
神马权重批量查询
360移动权重批量查询
站长移动权重批量查询
爱站移动权重批量查询
360权重查询
站长PC权重批量查询
爱站PC权重批量查询
搜狗总收录批量查询
360日收录批量查询
360总收录批量查询
百度月收录批量查询
百度周收录批量查询
百度日收录批量查询
百度网站收录批量查询
获取网站IP
获取网站描述
获取网站关键词
获取网站标题
HTTP状态码
搜狗权重
搜狗反链
神马总收录
百度预计流量
ALEXA排名
360反链
当前位置
博文首页
> 北境の守望者:【C/C++】Google 出品的代码规范(Google C++ Styl
最大化
缩小
北境の守望者:【C/C++】Google 出品的代码规范(Google C++ Styl
作者:[db:作者]
时间:2021-07-26 14:51
文章目录
I. 开篇, 一图胜千言
II. 分门别类, 娓娓道来
Principles 原则
Header Files 头文件
Self-contained Headers
The #define Guard #define 保护
Forward Declarations 前置声明
Inline Functions 内联函数
Names and Order of Includes
Scope 域
Namespaces 命名空间
Nonmember, Static Member, and Global Functions
Local Variables
Static and Global Variables
Classes 类
Doing Work in Constructors
Implicit Conversions
Copyable and Movable Types
Structs vs. Classes
Inheritance
Operator Overloading
Access Control
Declaration Order
Functions 函数
Output Parameters
Write Short Functions
Reference Arguments
Function Overloading
Default Arguments
Trailing Return Type Syntax
Google-Specific Magic
Ownership and Smart Pointers
cpplint
Other C++ Features
Rvalue References
Friends
Exceptions
noexcept
Run-Time Type Information(RTTI)
Casting
Streams
Preincrement and Predecrement
Use of const
Use of constexpr
Integer Types
64-bit Portabaility
Preprocessor Macros
0 and nullptr/NULL
sizeof
auto
Braced Initializer List
Lambda Expressions
Template metaprogramming
Boost
std::hash
C++ 11
Nonstandard Extensions
Aliases
Naming 命名
命名风格
一般规则
File Names
Type Names
Variable Names
Class Data Members
Struct Data Members
Function Names
Namespace Names
Macro Names
Enumerator Names
Exceptions to Naming Rules
Comments 注释
注释风格
文件注释
类注释
函数注释
函数声明 declaration
函数实现 implementation
函数体 body
函数参数 parameters
TODO 注释
Formatting
Line Length
Non-ASCII Characters
Spaces vs. Tabs
Function Declarations and Definitions
Lambda Expressions
Function Calls
Braced Initializer List Format
Conditionals
Loops and Switch Statements
Pointer and Reference Expresions
Boolean Expressions
Return Values
Variable and Array Initialization
Preprocessor Directives
Class Format
Constructor Initializer Lists
Namespace Formatting
Horizontal Whitespace
Vertical Whitespace
Exceptions to the Rules
Existing Non-conformant Code
Windows Code
Parting Words : Use common sense and BE CONSISTENT
III. 专题深入, 积沙成塔
Ref
cs
上一篇:
weixin_34007291的博客:Google C++命名规范
下一篇:没有了
立即下载 - IIS7 站长工具包
最新
更多<<
北境の守望者:【C/C++】Google 出品的代码规范(Google C++ Styl
weixin_34007291的博客:Google C++命名规范
csdn_baotai的博客:【代码规范】google开源c\c++项目代码规范
penghuilater的博客:TODOread
lxj362343的博客:谷歌c++ 代码规范(在线和pdf下载链接)
weixin_30706691的博客:阅读Google的C++代码规范有感
lzh_2_4的博客:各种笔记
龚厂长的博客:Sentinel-新手从零开始搭建限流框架
龚厂长的博客:java8 Stream之Spliterator
龚厂长的博客:java8 集合类中Spliterator的快速失败和后期绑定
龚厂长的博客:java8 常用集合类汇总详解之List
龚厂长的博客:java8 常用集合类汇总详解之Set
龚厂长的博客:java8 常用集合类汇总详解之Map
龚厂长的博客:java8 多线程并发之AQS详解
龚厂长的博客:java线程状态及转换关系
龚厂长的博客:java8 ReentrantLock加解锁原理详解
龚厂长的博客:java8 ThreadPoolExecutor线程池原理详解
龚厂长的博客:java8 ThreadPoolExecutor之shutdown()与shutdown
龚厂长的博客:java七大垃圾收集器区别汇总
龚厂长的博客:java8 FutureTask、Future、Callable、Runnable区
龚厂长的博客:java8 Lock中Condition的await/signal原理详解
龚厂长的博客:java 谈谈程序中的那些“锁”事
龚厂长的博客:java8 ThreadLocal实现原理及内存泄漏原因分析
龚厂长的博客:mybatis使用like模糊查询的几种方式
龚厂长的博客:二叉树之前序遍历、中序遍历、后续遍历
龚厂长的博客:mybatis解析-association实现原理详解
龚厂长的博客:mysql知识点系列-分区表、视图
布小禅的博客:Java基础语法(一)褪去Java神秘的衣服,“深入”
布小禅的博客:Java基础语法(二)jdk的安装和Java环境配置
布小禅的博客:Java基础语法(三)工欲善其事,必先利其器
推荐
更多<<
r1chard:一种获取context中keys和values的高效方法 | golang
沉默王二:火爆!GitHub 标星 144k 的前后端学习路线,2021 年最
程序员石磊:OGG ora-01403错误的快捷处理方案