
"Pavel Vozenilek" <pavel_vozenilek@hotmail.com> wrote in message news:ccj0lp$e9k$1@sea.gmane.org...
"Jonathan Turkanis" wrote
It also doesn't work well on VC6.
Could you elaborate on the last point? I thought it might not work well on VC6 because of problems with __LINE__, but it seemed to
work
okay when I tried it.
Doesn't work when Edit-and-Continue feature is enabled.
Thanks, I forgot that was the issue
It may be considered to develop more powerful scope guard implementation, e.g. similar to: http://tnfox.sourceforge.net/TnFOX/html/group__rollbacks.html
Thanks. I'll check it out.
One may dream about ability to use lambda as scope guard expression...
I'm going to post another message presenting a minimalist scope_guard which seems to work fine with lambda exprssions. I've never used Boost.Lambda before today, however, so I may be missing some important point. Jonathan