
Tobias Schwinger wrote:
Anyway: since you seem to have that new compiler installed I would find it interesting to know whether the "tuple testers" in the detail directory of Boost.Preprocessor work as expected now (they did not work with older versions of the Borland preprocessor):
#include <boost/preprocessor/detail/is_nullary.hpp> #include <boost/preprocessor/detail/is_unary.hpp> #include <boost/preprocessor/detail/is_binary.hpp>
BOOST_PP_IS_NULLARY(foo) // should expand to 0 BOOST_PP_IS_UNARY(foo) // should expand to 0 BOOST_PP_IS_BINARY(foo) // should expand to 0
BOOST_PP_IS_NULLARY(()) // should expand to 1 BOOST_PP_IS_UNARY((foo)) // should expand to 1 BOOST_PP_IS_BINARY((foo,bar)) // should expand to 1
AFAICT this is correct now, with the BOOST_PP_CONFIG_STRICT() setting. -- AlisdairM