From: Ben Hutchings (yg-boost-users_at_[hidden])
Date: 2003-03-26 11:26:49


In article <aqbksj$q56$1_at_[hidden]>, Paul Mensonides wrote:
<snip>
> This should be fine:
>
> #if BOOST_MSVC
>
> Provided that either BOOST_MSVC is *not* defined, or it expands to a numeric
> expression that the preprocessor can handle.

Even better, a test on BOOST_MSVC+0 works even if the definition of BOOST_MSVC
is blank. This technique is used in a few places in Boost.