|
Boost : |
From: Greg Colvin (gcolvin_at_[hidden])
Date: 1999-12-31 00:52:35
From: Dave Abrahams <abrahams_at_[hidden]>
> Greg sed:
>
> > Rather than a pointer to function I'm thinking of imitating
> > a closure with a reference to a class with a virtual function.
>
> Who allocates (and deallocates) the deallocator object?
Sometimes no one -- in many cases a static object will do.
If not, then whoever, whenever, as ever.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk