mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-19 09:53:47 +01:00
doc: Explain how to pass in non-fundamental types into functions
This commit is contained in:
parent
10852210bc
commit
faede747b3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user