diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-04 08:29:42 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-04 08:29:42 +0100 |
commit | 333b07775be1ef20fdb5909672c1e4dcabec1b40 (patch) | |
tree | 7116a85a80937fb63df85bb713c4b33eac7b3973 /contributing.md | |
parent | 761330ff6ee1febb0ecb223b6244416248b7f894 (diff) | |
parent | 06f65659fc6ffde7cabd2135040cbfbf089e5a24 (diff) |
Merge branch 'master' into loek/savemgr
Diffstat (limited to 'contributing.md')
-rw-r--r-- | contributing.md | 5 |
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 |