Added difference_type, reported as missing on the GGL mailing list

[SVN r64840]
This commit is contained in:
Barend Gehrels
2010-08-16 07:36:10 +00:00
parent 4741a9e479
commit eb04aeb7ad
2 changed files with 2 additions and 0 deletions

View File

@@ -53,6 +53,7 @@ struct box_iterator
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
{

View File

@@ -62,6 +62,7 @@ struct segment_range_iterator
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
{