Difference between revisions of "Coding Style"
Jump to navigation
Jump to search
** Note: Documentation should go in to the header file. | ** Note: Documentation should go in to the header file. | ||
* '''Class definitions''': Put public methods at the top of the definition. They're usually the most interesting part from a user's point of view. Private stuff at the bottom. | * '''Class definitions''': Put public methods at the top of the definition. They're usually the most interesting part from a user's point of view. Private stuff at the bottom. | ||
| − | class Foo | + | class Foo |
| + | { | ||
public: | public: | ||
Foo(); | Foo(); | ||
