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