
4 Apr
2007
4 Apr
'07
6:42 p.m.
Hello Hans, Wednesday, April 4, 2007, 4:14:14 AM, you wrote:
I considered it too but I thought it could scare people.
So, we have
1. BOOST_SCOPE_EXIT { // ... } BOOST_SCOPE_EXIT_END( (hello)(world) )
or, putting the code as a parameter to the macro:
BOOST_SCOPE_EXIT( (hello)(world), { // ... } );
This may lead to problems if a non-parenthised comma is in the scope exit body. -- Best regards, Andrey mailto:andysem@mail.ru