mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-12 00:02:09 +00:00
Added difference_type, reported as missing on the GGL mailing list
[SVN r64840]
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user