Browse Source

Coding standards.

cl-refactor
Gav Wood 10 years ago
parent
commit
d0f80eb441
  1. 4
      CodingStandards.txt

4
CodingStandards.txt

@ -128,6 +128,10 @@ d. Use override, final and const judiciously.
e. No implementations with the class declaration, except:
- template or force-inline method (though prefer implementation at bottom of header file).
- one-line implementation (in which case include it in same line as declaration).
f. For a method 'foo'
- Member: m_foo;
- Getter: foo() [ also: for booleans, isFoo() ];
- Setter: setFoo();

Loading…
Cancel
Save