 |
Cure for hard errors |
- Pointers transparently managed.
- Intrusive data structures based on linked lists.
- All lists implemented as rings.
Rules of the game:
a) All pointers initialized as NULL.
b) NULL pointers mark a disconnected object.
c) Objects must be disconnected prior to being connected or destroyed.
- Simple to do, improves code quality and debugging.
- Can be done only for intrusive data structures.
|