Adds reference counter to the inheritant. By defining REFCNT_DEBUG a number of methods get added that track the instances that have requested the reference. This overhead is removed at run time, leaving only an integer and increment/decrement methods. Depedencies: Related source code documentation: RefCnt
|