Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r64843 - sandbox/geometry/boost/geometry/iterators
From: barend.gehrels_at_[hidden]
Date: 2010-08-16 08:38:07


Author: barendgehrels
Date: 2010-08-16 08:38:05 EDT (Mon, 16 Aug 2010)
New Revision: 64843
URL: http://svn.boost.org/trac/boost/changeset/64843

Log:
Made difference_type public
Text files modified:
   sandbox/geometry/boost/geometry/iterators/box_iterator.hpp | 3 ++-
   sandbox/geometry/boost/geometry/iterators/segment_range_iterator.hpp | 3 ++-
   2 files changed, 4 insertions(+), 2 deletions(-)

Modified: sandbox/geometry/boost/geometry/iterators/box_iterator.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/iterators/box_iterator.hpp (original)
+++ sandbox/geometry/boost/geometry/iterators/box_iterator.hpp 2010-08-16 08:38:05 EDT (Mon, 16 Aug 2010)
@@ -50,10 +50,11 @@
         init(box);
     }
 
+ typedef std::ptrdiff_t difference_type;
+
 private:
     friend class boost::iterator_core_access;
     typedef typename point_type<Box>::type point_type;
- typedef std::ptrdiff_t difference_type;
 
     inline point_type const& dereference() const
     {

Modified: sandbox/geometry/boost/geometry/iterators/segment_range_iterator.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/iterators/segment_range_iterator.hpp (original)
+++ sandbox/geometry/boost/geometry/iterators/segment_range_iterator.hpp 2010-08-16 08:38:05 EDT (Mon, 16 Aug 2010)
@@ -59,10 +59,11 @@
         init(segment);
     }
 
+ typedef std::ptrdiff_t difference_type;
+
 private:
     friend class boost::iterator_core_access;
     typedef typename point_type<Segment>::type point_type;
- typedef std::ptrdiff_t difference_type;
 
     inline point_type const& dereference() const
     {


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