From d103694cf954ecd4ee2266072d7ead17d9d62494 Mon Sep 17 00:00:00 2001 From: rexy712 Date: Sat, 15 Aug 2020 13:59:44 -0700 Subject: [PATCH] doc/coding_standard.txt --- doc/coding_standard.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/coding_standard.txt b/doc/coding_standard.txt index 95fc364..9ae0295 100644 --- a/doc/coding_standard.txt +++ b/doc/coding_standard.txt @@ -1,4 +1,14 @@ +naming: + class names, struct names, union names, enum names: underscores + variable names: underscores + internal member variables: underscores prefixed with 'm_' + internal static member variables: underscores prefixed with 's_' + no use of underscore capital identifiers or identifiers with double underscore: '_Identifier' 'id__thing' + template parameters: Capital camel case + #define : ALL_CAP_UNDERSCORES + enum values: ALL_CAP_UNDERSCORES + must do's: general: c++17 targetted standard