Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Upper case for the first character of the name
  • Use camel case (GoodClassName)

Methods

  • Use camel STL style underscored lower case names for method names with the first charter being lower case (goodMethodName), (e.g. find_if).
  • Predicates should use a prefix of "is_" or "has_" to check for a specific propery (e.g. is_valid).
  • Use "this→" when calling other methods in the same class, to distinguish from free functions.Prepend '_' to the beginning of private or protected methods

Member Variables

  • Prepend '_' to the beginning of the private or protected member variable to distinguish it from other variable

...