Boost logo

Boost :

From: Jonathan Turkanis (technews_at_[hidden])
Date: 2004-10-03 15:13:10

"Maxim Yegorushkin" <e-maxim_at_[hidden]> wrote in message
> Jonathan Turkanis <technews_at_[hidden]> wrote:
> []
> > In July I posted a minimalist scope_guard:
> >
> >
> >
> > The point was not to include any machinery for binding arguments to
> > functions,
> > leaving that job instead to bind or lambda.
> >
> > It seems to have been mostly ignored on this list, but I use it in my
> > recently
> > accepted iostreams library, so it will be part of boost at least as an
> > implementation detail. I'm hoping to work with Joaquin M Lopez Munoz,
> > who uses a
> > scope_guard in his multi_index library, to put some version of
> > scope_guard in
> > boost/detail.
> I remember it was discussed before, but I've only managed to find the head
> of the thread:
> If I am not missing something, the conclusion was to ask boost::bind
> developers to adopt scope_guard, since the latter one can share almost all
> the code of the former. And then the thread just died...

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.


Boost list run by bdawes at, gregod at, cpdaniel at, john at