From: Jonathan Turkanis (technews_at_[hidden])
Date: 2004-10-04 10:19:33
"Konstantin Echenko" <clean_at_[hidden]> wrote in message
> "Jonathan Turkanis" <technews_at_[hidden]> wrote in message
> > I must have missed that discussion. I agree that would be better, but
> > unless/until that happens, I'd like to unfiy the various scope guards and
> > them in boost/detail. I'd prefer to use a version that doesn't duplicate
> > from bind.
> Hm... I'd prefer to duplicate code in library rather than duplicate code by
hands every time I use it.
You don't have to reproduce the code from bind, you only have to *use* it, e.g.,
make_guard(bind(f, arg)). But I'm sure you know that. An integrated solutation
would just save us from typing 'boost::bind' and an extra set of parentheses.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk