Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r70749 - branches/pplib/variadics/boost/preprocessor/tuple/detail
From: eldiener_at_[hidden]
Date: 2011-03-30 07:51:44


Author: eldiener
Date: 2011-03-30 07:51:43 EDT (Wed, 30 Mar 2011)
New Revision: 70749
URL: http://svn.boost.org/trac/boost/changeset/70749

Log:
Updated to avoid recursion.
Text files modified:
   branches/pplib/variadics/boost/preprocessor/tuple/detail/use_overload.hpp | 9 +++++++--
   1 files changed, 7 insertions(+), 2 deletions(-)

Modified: branches/pplib/variadics/boost/preprocessor/tuple/detail/use_overload.hpp
==============================================================================
--- branches/pplib/variadics/boost/preprocessor/tuple/detail/use_overload.hpp (original)
+++ branches/pplib/variadics/boost/preprocessor/tuple/detail/use_overload.hpp 2011-03-30 07:51:43 EDT (Wed, 30 Mar 2011)
@@ -17,13 +17,18 @@
 # if BOOST_PP_VARIADICS
 #
 # include <boost/preprocessor/facilities/overload.hpp>
-# include <boost/preprocessor/variadic/detail/apply_var.hpp>
 #
 # /* BOOST_PP_TUPLE_DETAIL_USE_OVERLOAD */
 #
 # define BOOST_PP_TUPLE_DETAIL_USE_OVERLOAD(prefix,...) \
- BOOST_PP_VARIADIC_DETAIL_APPLY_VAR(BOOST_PP_OVERLOAD(prefix, __VA_ARGS__),(__VA_ARGS__)) \
+ BOOST_PP_TUPLE_DETAIL_APPLY_VAR(BOOST_PP_OVERLOAD(prefix, __VA_ARGS__),(__VA_ARGS__)) \
          /**/
 #
+#define BOOST_PP_TUPLE_DETAIL_APPLY_VAR_I(macro, args) \
+ macro args \
+/**/
+#define BOOST_PP_TUPLE_DETAIL_APPLY_VAR(macro, args) \
+ BOOST_PP_TUPLE_DETAIL_APPLY_VAR_I(macro, args) \
+/**/
 # endif // BOOST_PP_VARIADICS
 # endif // BOOST_PREPROCESSOR_TUPLE_USE_OVERLOAD_HPP


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk