Boost logo

Boost :

From: Jonathan Turkanis (technews_at_[hidden])
Date: 2004-10-04 10:19:33


"Konstantin Echenko" <clean_at_[hidden]> wrote in message
news:cjrlrl$6ev$1_at_sea.gmane.org...
> "Jonathan Turkanis" <technews_at_[hidden]> wrote in message
news:cjpltt$fng$1_at_sea.gmane.org...
>
> []
>
> > 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
put
> > them in boost/detail. I'd prefer to use a version that doesn't duplicate
code
> > 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.

Jonathan


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