From: Michael Glassford (glassfordm_at_[hidden])
Date: 2003-10-20 13:10:46


David Abrahams wrote:
<snip>
>
> Either I'm missing something, or great swaths of code could be
> eliminated simply by asking people to use Boost.Bind (or lambda, for
> that matter). For example, guard_mem_fn seems unneeded. Am I wrong?

I guess that's true. At the time I wrote the code, Boost.Bind on VC++ 6.0
was giving me compile errors in some cases where the ScopeGuard code I
attached was not. I just tried again and no longer get those errors, so
apparently Boost.Bind has fixed that problem since then.

Mike