|
|
@ -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(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|