Skip to content

Code Guidelines

Tim Lane edited this page Nov 11, 2018 · 10 revisions

Code Guidelines

  1. Indentation brackets { and } should always be on a new line (for sake of consistency)
  2. Always add a copy constructor and assignment operator = overload to classes. By default these should be encapsulated as private so that copies may not be made (with some exceptions, e.g. classes that instantiate to objects with low-memory usage)
  3. Use the ossium namespace for new classes etc.

Clone this wiki locally