wiki:InfoClassGuidelines

class Info usage guidelines

In general, each (member) function's first line should be

  Info FunctionInfo(__func__);

where a class Info object is instantiated, receives the function name, and is destroyed upon exit of the function (i.e. giving debug messages of begin and end of function.

Exceptions from the above rule:

  • constructors or destructors of small objects that do nothing (except for debugging purpose), i.e. TesselPoint class.
Last modified 15 years ago Last modified on Jan 15, 2010, 2:45:03 PM
Note: See TracWiki for help on using the wiki.