Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r75123 - trunk/boost/unordered/detail
From: dnljms_at_[hidden]
Date: 2011-10-26 17:31:28


Author: danieljames
Date: 2011-10-26 17:31:27 EDT (Wed, 26 Oct 2011)
New Revision: 75123
URL: http://svn.boost.org/trac/boost/changeset/75123

Log:
Unordered: Rename B0, B1 etc. to avoid macro clash. Refs #6062.

Text files modified:
   trunk/boost/unordered/detail/emplace_args.hpp | 10 +++++-----
   1 files changed, 5 insertions(+), 5 deletions(-)

Modified: trunk/boost/unordered/detail/emplace_args.hpp
==============================================================================
--- trunk/boost/unordered/detail/emplace_args.hpp (original)
+++ trunk/boost/unordered/detail/emplace_args.hpp 2011-10-26 17:31:27 EDT (Wed, 26 Oct 2011)
@@ -90,7 +90,7 @@
     { \
         BOOST_PP_REPEAT_##z(n, BOOST_UNORDERED_EARGS_MEMBER, _) \
         BOOST_PP_CAT(emplace_args, n) ( \
- BOOST_PP_ENUM_BINARY_PARAMS_Z(z, n, B, a) \
+ BOOST_PP_ENUM_BINARY_PARAMS_Z(z, n, Arg, a) \
         ) : BOOST_PP_ENUM_##z(n, BOOST_UNORDERED_EARGS_INIT, _) \
         {} \
                                                                             \
@@ -112,8 +112,8 @@
 #if defined(BOOST_NO_RVALUE_REFERENCES)
 
 #define BOOST_UNORDERED_EARGS_MEMBER(z, n, _) \
- typedef BOOST_FWD_REF(BOOST_PP_CAT(A, n)) BOOST_PP_CAT(B, n); \
- BOOST_PP_CAT(B, n) BOOST_PP_CAT(a, n);
+ typedef BOOST_FWD_REF(BOOST_PP_CAT(A, n)) BOOST_PP_CAT(Arg, n); \
+ BOOST_PP_CAT(Arg, n) BOOST_PP_CAT(a, n);
 
 #define BOOST_UNORDERED_EARGS_INIT(z, n, _) \
     BOOST_PP_CAT(a, n)( \
@@ -123,8 +123,8 @@
 
 #define BOOST_UNORDERED_EARGS_MEMBER(z, n, _) \
     typedef typename boost::add_lvalue_reference<BOOST_PP_CAT(A, n)>::type \
- BOOST_PP_CAT(B, n); \
- BOOST_PP_CAT(B, n) BOOST_PP_CAT(a, n);
+ BOOST_PP_CAT(Arg, n); \
+ BOOST_PP_CAT(Arg, n) BOOST_PP_CAT(a, n);
 
 #define BOOST_UNORDERED_EARGS_INIT(z, n, _) \
     BOOST_PP_CAT(a, n)(BOOST_PP_CAT(a, n))


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