mirror of https://github.com/CGAL/cgal
add operator-> in iterator of incremental neighbor search classes
This commit is contained in:
parent
bf1fd3cc9e
commit
677fa29eb8
|
|
@ -170,6 +170,13 @@ namespace CGAL {
|
|||
return *(*ptr);
|
||||
}
|
||||
|
||||
// -> operator
|
||||
const Point_with_transformed_distance*
|
||||
operator-> () const
|
||||
{
|
||||
return &*(*ptr);
|
||||
}
|
||||
|
||||
// prefix operator
|
||||
iterator& operator++()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -419,6 +419,13 @@ namespace CGAL {
|
|||
{
|
||||
return *(*Ptr_implementation);
|
||||
}
|
||||
|
||||
// -> operator
|
||||
const Point_with_transformed_distance*
|
||||
operator-> () const
|
||||
{
|
||||
return &*(*Ptr_implementation);
|
||||
}
|
||||
|
||||
// prefix operator
|
||||
iterator&
|
||||
|
|
|
|||
Loading…
Reference in New Issue