Skip to content

Commit f24f4fa

Browse files
Update developer-notes.md
1 parent 69460bd commit f24f4fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/developer-notes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ code.
111111
- `static_assert` is preferred over `assert` where possible. Generally; compile-time checking is preferred over run-time checking.
112112
- Use a named cast or functional cast, not a C-Style cast. When casting
113113
between integer types, use functional casts such as `int(x)` or `int{x}`
114-
instead of `(int) x`. When casting between more complex types, use static_cast.
115-
Use reinterpret_cast and const_cast as appropriate.
114+
instead of `(int) x`. When casting between more complex types, use `static_cast`.
115+
Use `reinterpret_cast` and `const_cast` as appropriate.
116116

117117
For function calls a namespace should be specified explicitly, unless such functions have been declared within it.
118118
Otherwise, [argument-dependent lookup](https://en.cppreference.com/w/cpp/language/adl), also known as ADL, could be

0 commit comments

Comments
 (0)