Boost logo

Boost :

Subject: [boost] [preprocessor] [variadic] BOOST_PP_VARIADICS vs BOOST_NO_VARIADIC_MACROS
From: lcaminiti (lorcaminiti_at_[hidden])
Date: 2011-12-17 15:45:26


Hello all,

Why does Boost.Preprocessor redefines BOOST_PP_VARIAIDCS instead of just
using BOOST_NO_VARIADIC_MACROS from Boost.Config?

Furthermore, GCC supports variadics also when C++11 extensions are not
enabled so I think the following should not && __GXX_EXPERIMENTAL_CXX0X__:

// File: boost/preprocessor/config/config.hpp
# /* Wave (C/C++), GCC (C++) */
# elif defined __WAVE__ && __WAVE_HAS_VARIADICS__ || defined __GNUC__ &&
__GXX_EXPERIMENTAL_CXX0X__
# define BOOST_PP_VARIADICS 1

Thanks.
--Lorenzo

--
View this message in context: http://boost.2283326.n4.nabble.com/boost-preprocessor-variadic-BOOST-PP-VARIADICS-vs-BOOST-NO-VARIADIC-MACROS-tp4209316p4209316.html
Sent from the Boost - Dev mailing list archive at Nabble.com.

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk