|
Boost : |
From: Pavel Vozenilek (pavel_vozenilek_at_[hidden])
Date: 2004-02-29 12:17:00
"Pavel Vozenilek" <pavel_vozenilek_at_[hidden]> wrote
... clicked wrong combination of keys and didn't
finish previous email ...
This snippet works on all systems I use (VC, Intel,
BCB, Comeau-online) w/o warnings:
#if !(defined BOOST_NO_EXCEPTIONS)
# define BOOST_TRY try
# define BOOST_CATCH(x) catch(x)
# define BOOST_RETHROW throw
#else
# define BOOST_TRY
# if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564))
# define BOOST_CATCH(x) if (!"")
# else
# define BOOST_CATCH(x) if(0)
# endif
# define BOOST_RETHROW
#endif
/Pavel
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk