Skip to content

Commit faede74

Browse files
author
MarcoFalke
committed
doc: Explain how to pass in non-fundamental types into functions
1 parent 1085221 commit faede74

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

doc/developer-notes.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,14 @@ Wallet
478478
General C++
479479
-------------
480480

481+
For general C++ guidelines, you may refer to the [C++ Core
482+
Guidelines](https://isocpp.github.io/CppCoreGuidelines/).
483+
484+
Common misconceptions are clarified in those sections:
485+
486+
- Passing (non-)fundamental types in the [C++ Core
487+
Guideline](https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rf-conventional)
488+
481489
- Assertions should not have side-effects
482490

483491
- *Rationale*: Even though the source code is set to refuse to compile

0 commit comments

Comments
 (0)