mirror of https://github.com/CGAL/cgal
Add an conversion operator to tuple into Iterator_range to satisfy all versions of clang.
This commit is contained in:
parent
84b9328619
commit
b1a747b514
|
|
@ -78,6 +78,15 @@ namespace CGAL {
|
|||
return begin()==end();
|
||||
}
|
||||
|
||||
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};
|
||||
}
|
||||
};
|
||||
|
||||
template <typename T>
|
||||
|
|
|
|||
Loading…
Reference in New Issue