23 Nov
2011
23 Nov
'11
12:44 p.m.
I guess this feature will be integrated in ScopedExit soon :), but in order to don't forget, maybe you could create a feature request on the Trac system.
I reopened https://svn.boost.org/trac/boost/ticket/3940. I also found http://lists.boost.org/Archives/boost/2009/03/149540.php which includes a patch to support zero arguments, but it wasn't ever merged. It seems scope exit is abandoned. Bruno