Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r86697 - trunk/boost/thread/detail
From: vicente.botet_at_[hidden]
Date: 2013-11-14 12:56:08


Author: viboes
Date: 2013-11-14 12:56:07 EST (Thu, 14 Nov 2013)
New Revision: 86697
URL: http://svn.boost.org/trac/boost/changeset/86697

Log:
Thread: remove BOOST_THREAD_MAX_ARGS_P1.

Text files modified:
   trunk/boost/thread/detail/async_func.hpp | 4 ++--
   trunk/boost/thread/detail/variadic_header.hpp | 3 ++-
   2 files changed, 4 insertions(+), 3 deletions(-)

Modified: trunk/boost/thread/detail/async_func.hpp
==============================================================================
--- trunk/boost/thread/detail/async_func.hpp Thu Nov 14 06:22:02 2013 (r86696)
+++ trunk/boost/thread/detail/async_func.hpp 2013-11-14 12:56:07 EST (Thu, 14 Nov 2013) (r86697)
@@ -89,8 +89,8 @@
 #define BOOST_THREAD_MOVE_DCL(z, n, unused) , boost::move(v##n)
 #define BOOST_THREAD_ARG_DEF(z, n, unused) , class Arg##n = tuples::null_type
 
- template <class Fp
- BOOST_PP_REPEAT(BOOST_THREAD_MAX_ARGS_P1, BOOST_THREAD_ARG_DEF, ~)
+ template <class Fp, class Arg = tuples::null_type
+ BOOST_PP_REPEAT(BOOST_THREAD_MAX_ARGS, BOOST_THREAD_ARG_DEF, ~)
>
     class async_func;
 

Modified: trunk/boost/thread/detail/variadic_header.hpp
==============================================================================
--- trunk/boost/thread/detail/variadic_header.hpp Thu Nov 14 06:22:02 2013 (r86696)
+++ trunk/boost/thread/detail/variadic_header.hpp 2013-11-14 12:56:07 EST (Thu, 14 Nov 2013) (r86697)
@@ -6,12 +6,13 @@
 #include <boost/config.hpp>
 
 #if defined BOOST_NO_CXX11_VARIADIC_TEMPLATES
+
 #include <boost/preprocessor/facilities/intercept.hpp>
 #include <boost/preprocessor/repetition/enum_params.hpp>
 #include <boost/preprocessor/repetition/repeat_from_to.hpp>
+
 #ifndef BOOST_THREAD_MAX_ARGS
 #define BOOST_THREAD_MAX_ARGS 9
-#define BOOST_THREAD_MAX_ARGS_P1 10
 #endif
 
 #endif


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