From faede747b3493544f25d601b8e02c833e54c8751 Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Mon, 29 Apr 2019 13:23:33 -0400 Subject: doc: Explain how to pass in non-fundamental types into functions --- doc/developer-notes.md | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- cgit v1.2.3