|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r71893 - trunk/boost/signals2/detail
From: fmhess_at_[hidden]
Date: 2011-05-12 10:43:26
Author: fmhess
Date: 2011-05-12 10:43:25 EDT (Thu, 12 May 2011)
New Revision: 71893
URL: http://svn.boost.org/trac/boost/changeset/71893
Log:
Use BOOST_PP_EXPR_IF instead of BOOST_PP_IF with BOOST_PP_EMPTY.
Text files modified:
trunk/boost/signals2/detail/signal_template.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/signals2/detail/signal_template.hpp
==============================================================================
--- trunk/boost/signals2/detail/signal_template.hpp (original)
+++ trunk/boost/signals2/detail/signal_template.hpp 2011-05-12 10:43:25 EDT (Thu, 12 May 2011)
@@ -326,7 +326,7 @@
// typename add_reference<T1>::type arg1, typename add_reference<T2>::type arg2, ..., typename add_reference<Tn>::type argn
#define BOOST_SIGNALS2_ADD_REF_ARGS(arity) \
BOOST_PP_ENUM(arity, BOOST_SIGNALS2_ADD_REF_ARG, ~)
- slot_invoker(BOOST_SIGNALS2_ADD_REF_ARGS(BOOST_SIGNALS2_NUM_ARGS)) BOOST_PP_IF(BOOST_SIGNALS2_NUM_ARGS, :, BOOST_PP_EMPTY)
+ slot_invoker(BOOST_SIGNALS2_ADD_REF_ARGS(BOOST_SIGNALS2_NUM_ARGS)) BOOST_PP_EXPR_IF(BOOST_SIGNALS2_NUM_ARGS, :)
#undef BOOST_SIGNALS2_ADD_REF_ARGS
// m_argn
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