|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r78621 - trunk/boost/local_function/aux_
From: lorcaminiti_at_[hidden]
Date: 2012-05-25 12:06:51
Author: lcaminiti
Date: 2012-05-25 12:06:50 EDT (Fri, 25 May 2012)
New Revision: 78621
URL: http://svn.boost.org/trac/boost/changeset/78621
Log:
Changed B0, B1, ... template param names to Bind0, Bind1, ... because a Linix header #defines B0 to a baud rate causing a compilation error if that Linux header is included before this header.
Text files modified:
trunk/boost/local_function/aux_/function.hpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Modified: trunk/boost/local_function/aux_/function.hpp
==============================================================================
--- trunk/boost/local_function/aux_/function.hpp (original)
+++ trunk/boost/local_function/aux_/function.hpp 2012-05-25 12:06:50 EDT (Fri, 25 May 2012)
@@ -38,7 +38,7 @@
(typename)
#define BOOST_LOCAL_FUNCTION_AUX_arg_type(z, arg_n, unused) \
- BOOST_PP_CAT(A, arg_n)
+ BOOST_PP_CAT(Arg, arg_n)
#define BOOST_LOCAL_FUNCTION_AUX_arg_typedef(z, arg_n, unused) \
typedef \
@@ -58,14 +58,14 @@
#define BOOST_LOCAL_FUNCTION_AUX_arg_name(z, arg_n, comma01) \
BOOST_PP_COMMA_IF(comma01) \
- BOOST_PP_CAT(a, arg_n)
+ BOOST_PP_CAT(arg, arg_n)
#define BOOST_LOCAL_FUNCTION_AUX_arg_param_decl(z, arg_n, unused) \
BOOST_LOCAL_FUNCTION_AUX_arg_param_type(z, arg_n, 0 /* no leading comma */)\
BOOST_LOCAL_FUNCTION_AUX_arg_name(z, arg_n, 0 /* no leading comma */)
#define BOOST_LOCAL_FUNCTION_AUX_bind_type(z, bind_n, unused) \
- BOOST_PP_CAT(B, bind_n)
+ BOOST_PP_CAT(Bind, bind_n)
#define BOOST_LOCAL_FUNCTION_AUX_comma_bind_type(z, bind_n, unused) \
, BOOST_LOCAL_FUNCTION_AUX_bind_type(z, bind_n, ~)
@@ -77,7 +77,7 @@
, typename BOOST_LOCAL_FUNCTION_AUX_bind_type(z, bind_n, ~)
#define BOOST_LOCAL_FUNCTION_AUX_bind_name(z, bind_n, unused) \
- BOOST_PP_CAT(b, bind_n)
+ BOOST_PP_CAT(bing, bind_n)
#define BOOST_LOCAL_FUNCTION_AUX_comma_bind_param_decl(z, bind_n, unused) \
, \
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