cpp-coding-conventions.mdwn 671 B

123456789101112131415161718192021222324252627
  1. The following conventions are the default when writing C++ code in the
  2. project, and apply to all application level code. The conventions are not
  3. a strict requirement: They are always open to changes, and specific cases
  4. in the code sometimes make different conventions make more sense. If such
  5. a case repeats in several locations, it is probably a good idea to discuss
  6. it here and consider updating the conventions.
  7. Naming
  8. ===============
  9. * top-level namespace
  10. * nested namespace
  11. * global function
  12. * private local helper
  13. * functor
  14. * lambda
  15. * class
  16. * class member type
  17. * class member data
  18. * class member function
  19. * enum
  20. * template parameter
  21. [[includes]] from the GIMP