add operator-> in iterator of incremental neighbor search classes

This commit is contained in:
Sébastien Loriot 2010-08-18 09:52:36 +00:00
parent bf1fd3cc9e
commit 677fa29eb8
2 changed files with 14 additions and 0 deletions

View File

@ -170,6 +170,13 @@ namespace CGAL {
return *(*ptr);
}
// -> operator
const Point_with_transformed_distance*
operator-> () const
{
return &*(*ptr);
}
// prefix operator
iterator& operator++()
{

View File

@ -419,6 +419,13 @@ namespace CGAL {
{
return *(*Ptr_implementation);
}
// -> operator
const Point_with_transformed_distance*
operator-> () const
{
return &*(*Ptr_implementation);
}
// prefix operator
iterator&