Boost logo

Boost-Commit :

From: nesotto_at_[hidden]
Date: 2007-12-03 03:51:23


Author: nesotto
Date: 2007-12-03 03:51:22 EST (Mon, 03 Dec 2007)
New Revision: 41635
URL: http://svn.boost.org/trac/boost/changeset/41635

Log:
merge from truck (boost::size()->boost::distance())
Text files modified:
   branches/release/boost/range/iterator_range.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: branches/release/boost/range/iterator_range.hpp
==============================================================================
--- branches/release/boost/range/iterator_range.hpp (original)
+++ branches/release/boost/range/iterator_range.hpp 2007-12-03 03:51:22 EST (Mon, 03 Dec 2007)
@@ -77,8 +77,8 @@
         {
             typedef BOOST_DEDUCED_TYPENAME boost::range_difference<Left>::type sz_type;
 
- sz_type l_size = boost::size( l ),
- r_size = boost::size( r );
+ sz_type l_size = boost::distance( l ),
+ r_size = boost::distance( r );
 
             if( l_size != r_size )
                 return false;


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