Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2007-08-20 12:12:53


on Mon Aug 20 2007, "Giovanni Piero Deretta" <gpderetta-AT-gmail.com> wrote:

> The trick used by ScopeExit could be much more useful as a generalized
> (named) closure mechanism. These closures could then be used with the
> classic ScopeGuard idiom, to emulate what ScopeExit does right now,
> but could also replace most usages of boost lambda.
>
> Anyone would find such a mechanism useful? Alexander, do you think
> that it would be hard to extend ScopeExit to a generalized closure? I
> have done some experiments in the past with something like that and it
> seemed doable.

If it's really doable, I'd be very interested.

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com
The Astoria Seminar ==> http://www.astoriaseminar.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk