We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d36f59 commit 8af65d9Copy full SHA for 8af65d9
doc/developer-notes.md
@@ -514,6 +514,16 @@ namespace {
514
source file into account. This allows quoted includes to stand out more when
515
the location of the source file actually is relevant.
516
517
+- Use include guards to avoid the problem of double inclusion. The header file
518
+ `foo/bar.h` should use the include guard identifier `BITCOIN_FOO_BAR_H`, e.g.
519
+
520
+```c++
521
+#ifndef BITCOIN_FOO_BAR_H
522
+#define BITCOIN_FOO_BAR_H
523
+...
524
+#endif // BITCOIN_FOO_BAR_H
525
+```
526
527
GUI
528
-----
529
0 commit comments