Skip to content
redantlabs edited this page Jun 10, 2018 · 1 revision

Conventions

Names

Names of methods, parameters, non const attributes and types are written in small caps, each word separated by an underscore.

Templates starts with the suffix "t_" while classes ends with the prefix "_t". Template parameters starts with an underscore. Here is a sample example :

template <class _t>
class t_class{
typedef t_class<_t> class_t;
};

Const expressions are written in capital letters, each word separated by an underscore.

Clone this wiki locally