Boost logo

Boost-Commit :

From: Boris.Gubenko_at_[hidden]
Date: 2007-12-14 22:42:49


Author: bgubenko
Date: 2007-12-14 22:42:49 EST (Fri, 14 Dec 2007)
New Revision: 42064
URL: http://svn.boost.org/trac/boost/changeset/42064

Log:
don't use identifires R1 and R2: some HP-UX headers define them as macros
Text files modified:
   trunk/boost/iterator/iterator_facade.hpp | 16 ++++++++--------
   1 files changed, 8 insertions(+), 8 deletions(-)

Modified: trunk/boost/iterator/iterator_facade.hpp
==============================================================================
--- trunk/boost/iterator/iterator_facade.hpp (original)
+++ trunk/boost/iterator/iterator_facade.hpp 2007-12-14 22:42:49 EST (Fri, 14 Dec 2007)
@@ -433,26 +433,26 @@
 # ifdef BOOST_NO_STRICT_ITERATOR_INTEROPERABILITY
 # define BOOST_ITERATOR_FACADE_INTEROP_HEAD(prefix, op, result_type) \
     template < \
- class Derived1, class V1, class TC1, class R1, class D1 \
- , class Derived2, class V2, class TC2, class R2, class D2 \
+ class Derived1, class V1, class TC1, class Reference1, class Difference1 \
+ , class Derived2, class V2, class TC2, class Reference2, class Difference2 \
> \
     prefix typename mpl::apply2<result_type,Derived1,Derived2>::type \
     operator op( \
- iterator_facade<Derived1, V1, TC1, R1, D1> const& lhs \
- , iterator_facade<Derived2, V2, TC2, R2, D2> const& rhs)
+ iterator_facade<Derived1, V1, TC1, Reference1, Difference1> const& lhs \
+ , iterator_facade<Derived2, V2, TC2, Reference2, Difference2> const& rhs)
 # else
 # define BOOST_ITERATOR_FACADE_INTEROP_HEAD(prefix, op, result_type) \
     template < \
- class Derived1, class V1, class TC1, class R1, class D1 \
- , class Derived2, class V2, class TC2, class R2, class D2 \
+ class Derived1, class V1, class TC1, class Reference1, class Difference1 \
+ , class Derived2, class V2, class TC2, class Reference2, class Difference2 \
> \
     prefix typename boost::detail::enable_if_interoperable< \
         Derived1, Derived2 \
       , typename mpl::apply2<result_type,Derived1,Derived2>::type \
>::type \
     operator op( \
- iterator_facade<Derived1, V1, TC1, R1, D1> const& lhs \
- , iterator_facade<Derived2, V2, TC2, R2, D2> const& rhs)
+ iterator_facade<Derived1, V1, TC1, Reference1, Difference1> const& lhs \
+ , iterator_facade<Derived2, V2, TC2, Reference2, Difference2> const& rhs)
 # endif
 
 # define BOOST_ITERATOR_FACADE_PLUS_HEAD(prefix,args) \


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