Main Page | Compound List | File List | Compound Members

rptr Documentation

1.1.0

This page documents a simple and straight-forward reference counting pointer implementation (rptr::Rptr ). There is also a container that acts as a 'vector with gaps' (rptr::Rvec ). Such a container is not a part of STL, but I find it quite useful in some situations.

This package is copyright protected under the GPL terms, which means that it is what is called 'free software'. (see COPYING)

Defining the macro RPTR_DEBUG activates a runtime check for null pointer dereferencing. On error an assertion fails and the program aborts. Together with a standard debugger this will hopefully help in finding your bugs easily.

Beware that the runtime checks will give an efficiency penalty.

Also beware that compiling only some files with RPTR_DEBUG may sometimes produce strange results because inlined functions may be defined differently in different object files. It is recommended not to link together files compiled with different RPTR_DEBUG macro settings.


Generated on Wed May 12 15:35:34 2004 for rptr by doxygen 1.3.3