We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39ed0fe commit 8ec47e5Copy full SHA for 8ec47e5
CPP_STYLE_GUIDE.md
@@ -127,6 +127,21 @@ class FancyContainer {
127
128
What it says in the title.
129
130
+## Do not include `*.h` if `*-inl.h` has already been included
131
+
132
+Do
133
134
+```cpp
135
+#include "util-inl.h" // already includes util.h
136
+```
137
138
+instead of
139
140
141
+#include "util.h"
142
+#include "util-inl.h"
143
144
145
## Avoid throwing JavaScript errors in nested C++ methods
146
147
If you need to throw JavaScript errors from a C++ binding method, try to do it
0 commit comments