|
Boost : |
From: Valentin Bonnard (Bonnard.V_at_[hidden])
Date: 1999-07-23 16:04:17
Greg Colvin wrote:
> Nonetheless, live_ptr looks useful, so I'd like to see if it can be done with minimal
> intrusion. I don't consider requiring derivation from live_ptee to be minimal.
In C++, there is no non-intrusive way to detect a call to a
function, for any function (a normal function or a destructor
or operator delete).
The obvious intrusive way is to modify the function foo to
dispatch a foo_called message.
-- Valentin Bonnard
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk