26 Mar
2003
26 Mar
'03
4:26 p.m.
In article
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.