Boost logo

Boost :

From: Andrey Semashev (andysem_at_[hidden])
Date: 2007-04-04 14:42:50


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_at_[hidden]

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk