mirror of https://github.com/CGAL/cgal
Merge pull request #3842 from maxGimeno/Iterator_range_fix-GF
Fix Iterator_range for Apple Clang
This commit is contained in:
commit
f629c6980b
|
|
@ -77,6 +77,18 @@ namespace CGAL {
|
|||
{
|
||||
return begin()==end();
|
||||
}
|
||||
#ifndef CGAL_CFG_NO_CPP0X_TUPLE
|
||||
|
||||
operator std::tuple<I&, I&>()
|
||||
{
|
||||
return std::tuple<I&, I&>{this->first, this->second};
|
||||
}
|
||||
|
||||
operator std::tuple<const I&, const I&>() const
|
||||
{
|
||||
return std::tuple<const I&, const I&>{this->first, this->second};
|
||||
}
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue