
12 Mar
2009
12 Mar
'09
midnight
At 9:01 AM +0000 3/11/09, Alexander Nasonov wrote:
Kim Barrett <kab.conundrums <at> verizon.net> writes:
... if one has a scope exit in the body of another scope exit.
I've droped this use-case in favor of more fast and elegant implementation (search for "Watanabe's trick" in the scope_exit.hpp).
OK. It's certainly a rare use case. It would be nice if this restriction were mentioned in the documentation. It might not be obvious from the compiler's error messages that this is the problem when someone tries it.