|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r64840 - sandbox/geometry/boost/geometry/iterators
From: barend.gehrels_at_[hidden]
Date: 2010-08-16 03:36:13
Author: barendgehrels
Date: 2010-08-16 03:36:10 EDT (Mon, 16 Aug 2010)
New Revision: 64840
URL: http://svn.boost.org/trac/boost/changeset/64840
Log:
Added difference_type, reported as missing on the GGL mailing list
Text files modified:
sandbox/geometry/boost/geometry/iterators/box_iterator.hpp | 1 +
sandbox/geometry/boost/geometry/iterators/segment_range_iterator.hpp | 1 +
2 files changed, 2 insertions(+), 0 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 03:36:10 EDT (Mon, 16 Aug 2010)
@@ -53,6 +53,7 @@
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 03:36:10 EDT (Mon, 16 Aug 2010)
@@ -62,6 +62,7 @@
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