Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r63763 - trunk/boost/detail
From: daniel_james_at_[hidden]
Date: 2010-07-08 16:49:27


Author: danieljames
Date: 2010-07-08 16:49:27 EDT (Thu, 08 Jul 2010)
New Revision: 63763
URL: http://svn.boost.org/trac/boost/changeset/63763

Log:
Rename 'check' in detail/is_incrementable.

To avoid clashing with Apple testing macros.
Text files modified:
   trunk/boost/detail/is_incrementable.hpp | 8 ++++----
   1 files changed, 4 insertions(+), 4 deletions(-)

Modified: trunk/boost/detail/is_incrementable.hpp
==============================================================================
--- trunk/boost/detail/is_incrementable.hpp (original)
+++ trunk/boost/detail/is_incrementable.hpp 2010-07-08 16:49:27 EDT (Thu, 08 Jul 2010)
@@ -70,10 +70,10 @@
 # endif
 
   // two check overloads help us identify which operator++ was picked
- char (& check(tag) )[2];
+ char (& check_(tag) )[2];
   
   template <class T>
- char check(T const&);
+ char check_(T const&);
   
 
   template <class T>
@@ -83,7 +83,7 @@
 
       BOOST_STATIC_CONSTANT(
           bool
- , value = sizeof(is_incrementable_::check(BOOST_comma(++x,0))) == 1
+ , value = sizeof(is_incrementable_::check_(BOOST_comma(++x,0))) == 1
       );
   };
 
@@ -94,7 +94,7 @@
 
       BOOST_STATIC_CONSTANT(
           bool
- , value = sizeof(is_incrementable_::check(BOOST_comma(x++,0))) == 1
+ , value = sizeof(is_incrementable_::check_(BOOST_comma(x++,0))) == 1
       );
   };
 


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