aboutsummaryrefslogtreecommitdiffstats
path: root/doc/contributing.rst
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-09-22 19:28:11 -0400
committerJack Lloyd <[email protected]>2017-09-22 19:28:11 -0400
commitba89dd9a71016b318847fe471dc086504e18cf42 (patch)
tree092c81c3c8d5c42a252dec32b7e7aae1f81929c3 /doc/contributing.rst
parentf9051c02b7b1ce4c97a16a218b0cea0439722f4e (diff)
More RAII - death to explicit delete
Diffstat (limited to 'doc/contributing.rst')
-rw-r--r--doc/contributing.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/contributing.rst b/doc/contributing.rst
index 60091ae13..31e8cb39f 100644
--- a/doc/contributing.rst
+++ b/doc/contributing.rst
@@ -168,6 +168,8 @@ declaration and know it will not be modified is useful.
Use ``override`` annotations whenever overriding a virtual function. If
introducing a new type that is not intended for derivation, mark it ``final``.
+Avoid explicit ``delete`` - use RAII.
+
Use ``m_`` prefix on all member variables.
For formatting, there are configs for emacs and astyle in ``src/configs``.