next up previous contents
Next: Helper Functions Up: Coding Standards Previous: Exceptions & RTTI   Contents

Types and Functions Naming

ASTL follows the C++ standard way for types naming: types and functions names contain only lower-case letters and compound words contain underscores separating components. Most of the time, words are used literaly without any abbreviation. Examples: forward_cursor, acyclic_minimization.
For formal template parameters, upper-case letters are used and no underscore appears, thus minimizing the probability for names collision between real types and formal parameters. For instance, the definition:
template <typename ForwardCursor>
class A
{ };
should avoid any confusion between the symbol ForwardCursor and the existing type forward_cursor.

Vincent Le Maout 2003-07-08