提交 f1b73602 编写于 作者: H hsutter

Closes #1470

上级 1a88c5a5
...@@ -19045,6 +19045,10 @@ Avoid clients of a header having to manage that header's dependencies. ...@@ -19045,6 +19045,10 @@ Avoid clients of a header having to manage that header's dependencies.
Failing to follow this results in difficult to diagnose errors for clients of a header. Failing to follow this results in difficult to diagnose errors for clients of a header.
##### Note
A header should include all its dependencies. Be careful about using relative paths because C++ implementations diverge on their meaning.
##### Enforcement ##### Enforcement
A test should verify that the header file itself compiles or that a cpp file which only includes the header file compiles. A test should verify that the header file itself compiles or that a cpp file which only includes the header file compiles.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册