aboutsummaryrefslogtreecommitdiff
path: root/doc/developer-notes.md
diff options
context:
space:
mode:
authorRiahiamirreza <54557628+Riahiamirreza@users.noreply.github.com>2023-04-14 20:11:51 +0330
committerGitHub <noreply@github.com>2023-04-14 20:11:51 +0330
commitf24f4fa3f114b1bd5b7e7ff9ebb0ef73bfc81eda (patch)
treed34baff321d99b019c97bec3d59cc778e09b8e85 /doc/developer-notes.md
parent69460bd8bc56762513b20218b9839c2ae4c40aaf (diff)
downloadbitcoin-f24f4fa3f114b1bd5b7e7ff9ebb0ef73bfc81eda.tar.xz
Update developer-notes.md
Diffstat (limited to 'doc/developer-notes.md')
-rw-r--r--doc/developer-notes.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/developer-notes.md b/doc/developer-notes.md
index ceaba8cb99..08dde2aa61 100644
--- a/doc/developer-notes.md
+++ b/doc/developer-notes.md
@@ -111,8 +111,8 @@ code.
- `static_assert` is preferred over `assert` where possible. Generally; compile-time checking is preferred over run-time checking.
- Use a named cast or functional cast, not a C-Style cast. When casting
between integer types, use functional casts such as `int(x)` or `int{x}`
- instead of `(int) x`. When casting between more complex types, use static_cast.
- Use reinterpret_cast and const_cast as appropriate.
+ instead of `(int) x`. When casting between more complex types, use `static_cast`.
+ Use `reinterpret_cast` and `const_cast` as appropriate.
For function calls a namespace should be specified explicitly, unless such functions have been declared within it.
Otherwise, [argument-dependent lookup](https://en.cppreference.com/w/cpp/language/adl), also known as ADL, could be