aboutsummaryrefslogtreecommitdiff
path: root/doc/developer-notes.md
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2019-04-29 13:23:33 -0400
committerMarcoFalke <falke.marco@gmail.com>2019-05-01 16:03:20 -0400
commitfaede747b3493544f25d601b8e02c833e54c8751 (patch)
tree8c0fab08a8ff9a796df309df2aa359f4df399fa5 /doc/developer-notes.md
parent10852210bcf7b4e6e0c784af37717d065e47c496 (diff)
downloadbitcoin-faede747b3493544f25d601b8e02c833e54c8751.tar.xz
doc: Explain how to pass in non-fundamental types into functions
Diffstat (limited to 'doc/developer-notes.md')
-rw-r--r--doc/developer-notes.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/developer-notes.md b/doc/developer-notes.md
index cf071167c4..45e55b7c40 100644
--- a/doc/developer-notes.md
+++ b/doc/developer-notes.md
@@ -478,6 +478,14 @@ Wallet
General C++
-------------
+For general C++ guidelines, you may refer to the [C++ Core
+Guidelines](https://isocpp.github.io/CppCoreGuidelines/).
+
+Common misconceptions are clarified in those sections:
+
+- Passing (non-)fundamental types in the [C++ Core
+ Guideline](https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rf-conventional)
+
- Assertions should not have side-effects
- *Rationale*: Even though the source code is set to refuse to compile