$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Pavel Vozenilek (pavel_vozenilek_at_[hidden])
Date: 2004-03-06 02:33:34
"Jody Hagins" <jody-boost-011304_at_[hidden]> wrote
> I am not "portability man" but it appears you may have only tested this
> when both BOOST_NO_EXCEPTIONS is defined and it is for BORLAND, as the
> third definition of BOOST_TRY is missing the beginning scope marker.
>
Yes, I stand corrected.
#if !(defined BOOST_NO_EXCEPTIONS)
#    define BOOST_TRY { try
#    define BOOST_CATCH(x) catch(x)
#    define BOOST_RETHROW throw
#    define BOOST_CATCH_END }
#else
#    if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564))
#        define BOOST_TRY { if ("")
#        define BOOST_CATCH(x) else if (!"")
#    else
#        define BOOST_TRY { if (true)
#        define BOOST_CATCH else if (false)
#    endif
#    define BOOST_RETHROW
#    define BOOST_CATCH_END }
#endif
/Pavel