![]() |
Boost : |
From: Daryle Walker (darylew_at_[hidden])
Date: 2004-02-29 18:17:00
On 2/27/04 4:48 PM, "Pavel Vozenilek" <pavel_vozenilek_at_[hidden]> wrote:
[SNIP]
> # define BOOST_INDEXED_SET_CATCH(x) if(0)
[TRUNCATE]
You might want to use:
#define BOOST_INDEXED_SET_CATCH(x) if(true) ; else
instead. This way, any dangling "else" in the outside code doesn't get
attached to your macro by mistake.
-- Daryle Walker Mac, Internet, and Video Game Junkie darylew AT hotmail DOT com
Boost list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk