$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
From: eric_at_[hidden]
Date: 2008-05-19 18:40:50
Author: eric_niebler
Date: 2008-05-19 18:40:50 EDT (Mon, 19 May 2008)
New Revision: 45568
URL: http://svn.boost.org/trac/boost/changeset/45568
Log:
fix off-by-one in BOOST_PROTO_EXTENDS_FUNCTION
Text files modified: 
   branches/proto/v4/boost/proto/extends.hpp |     6 +++---                                  
   1 files changed, 3 insertions(+), 3 deletions(-)
Modified: branches/proto/v4/boost/proto/extends.hpp
==============================================================================
--- branches/proto/v4/boost/proto/extends.hpp	(original)
+++ branches/proto/v4/boost/proto/extends.hpp	2008-05-19 18:40:50 EDT (Mon, 19 May 2008)
@@ -326,7 +326,7 @@
         BOOST_PROTO_EXTENDS_FUNCTION_()                                                             \
         BOOST_PP_REPEAT_FROM_TO(                                                                    \
             0                                                                                       \
-          , BOOST_PP_DEC(BOOST_PROTO_MAX_FUNCTION_CALL_ARITY)                                       \
+          , BOOST_PROTO_MAX_FUNCTION_CALL_ARITY                                                     \
           , BOOST_PROTO_DEFINE_FUN_OP_CONST                                                         \
           , ~                                                                                       \
         )                                                                                           \
@@ -336,7 +336,7 @@
         BOOST_PROTO_EXTENDS_FUNCTION_()                                                             \
         BOOST_PP_REPEAT_FROM_TO(                                                                    \
             0                                                                                       \
-          , BOOST_PP_DEC(BOOST_PROTO_MAX_FUNCTION_CALL_ARITY)                                       \
+          , BOOST_PROTO_MAX_FUNCTION_CALL_ARITY                                                     \
           , BOOST_PROTO_DEFINE_FUN_OP_NON_CONST                                                     \
           , ~                                                                                       \
         )                                                                                           \
@@ -346,7 +346,7 @@
         BOOST_PROTO_EXTENDS_FUNCTION_()                                                             \
         BOOST_PP_REPEAT_FROM_TO(                                                                    \
             0                                                                                       \
-          , BOOST_PP_DEC(BOOST_PROTO_MAX_FUNCTION_CALL_ARITY)                                       \
+          , BOOST_PROTO_MAX_FUNCTION_CALL_ARITY                                                     \
           , BOOST_PROTO_DEFINE_FUN_OP                                                               \
           , ~                                                                                       \
         )                                                                                           \