
11 Mar
2009
11 Mar
'09
9:01 a.m.
Kim Barrett <kab.conundrums <at> verizon.net> writes:
Any access syntax that doesn't have the form of a variable name will go right back to the original problem if one has a scope exit in the body of another scope exit. I've not yet needed to do something like that with BOOST_SCOPE_EXIT, but I know that I've more than once written a try/finally block that was in the finally clause of another try/finally block (in other languages, obviously).
I've droped this use-case in favor of more fast and elegant implementation (search for "Watanabe's trick" in the scope_exit.hpp). Alex