Merge pull request #3842 from maxGimeno/Iterator_range_fix-GF

Fix Iterator_range for Apple Clang
This commit is contained in:
Laurent Rineau 2019-04-08 15:57:26 +02:00
commit f629c6980b
1 changed files with 12 additions and 0 deletions

View File

@ -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
};