From: Dejan Jelovic (djelovic_at_[hidden])
Date: 2001-01-10 08:08:07
Is there any interest in adding my safe pointer classes to Boost?
These classes include a "regular" smart pointer and a weak smart pointer
which automatically gets set to NULL after all strong references are
destroyed. Together they make a closed system that pretty much eliminates
the need for native pointers and makes memory errors impossible.
I've posted slides explaining this at:
The thread safety aspect is explained here:
The code is unfortunately Windows specific (because of thread safety; it
requires atomic increment and decrement operations). Intel C++ can be used
to compile it.
I've created a version of the files that follows the Boost coding style and
includes the copyright info. It can be downloaded from:
Those interested in how these pointers can be used should look at demo.cpp
in the archive
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk