
"Jonathan Turkanis" <technews@kangaroologic.com> wrote in message news:cjpltt$fng$1@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
"Konstantin Echenko" <clean@pisem.net> wrote in message news:cjrlrl$6ev$1@sea.gmane.org... 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