aboutsummaryrefslogtreecommitdiff
path: root/contributing.md
diff options
context:
space:
mode:
Diffstat (limited to 'contributing.md')
-rw-r--r--contributing.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/contributing.md b/contributing.md
index a6e5074..775119a 100644
--- a/contributing.md
+++ b/contributing.md
@@ -65,6 +65,11 @@
declaration instead of using the constructor.
- Header files declare either a single class or symbols within a single
namespace.
+- Use of the `auto` type is not allowed, with the following exceptions:
+ - When naming the item type in a range-based for loop
+ - When calling template factory methods that explicitly name the return type
+ in the function call signature
+ - When fetching a singleton instance
- Only use member initializer lists for non-trivial types.
- C++-style structs should define default values for all non-trivial fields.
- Declare incomplete classes instead of including the relevant header where