Coding Standards

From Sepiola Wiki
Jump to: navigation, search

Please use http://www.gotw.ca/publications/c++cs.htm as a basic reference (wrt semantics for const-ref, ref, pointers)

Furthermore:

  • indentation: 4 spaces, no tabs
  • private variables/method naming: _myPrivateVar, _myPrivateFunc
  • method naming: myFunc

A good example is stacked_bar_view.hh/stacked_bar_view.cc

Personal tools
Namespaces

Variants
Actions
Navigation
Wiki
sepiola.org
Toolbox