mirror of https://github.com/CGAL/cgal
add to Compact_container iterator type operators > >= and <=
This commit is contained in:
parent
968f8b40bc
commit
62a6daf1da
|
|
@ -864,6 +864,21 @@ namespace internal {
|
|||
return (m_ptr.p < other.m_ptr.p);
|
||||
}
|
||||
|
||||
bool operator>(const CC_iterator& other) const
|
||||
{
|
||||
return (m_ptr.p > other.m_ptr.p);
|
||||
}
|
||||
|
||||
bool operator<=(const CC_iterator& other) const
|
||||
{
|
||||
return (m_ptr.p <= other.m_ptr.p);
|
||||
}
|
||||
|
||||
bool operator>=(const CC_iterator& other) const
|
||||
{
|
||||
return (m_ptr.p >= other.m_ptr.p);
|
||||
}
|
||||
|
||||
// Can itself be used for bit-squatting.
|
||||
void * for_compact_container() const { return (m_ptr.vp); }
|
||||
void * & for_compact_container() { return (m_ptr.vp); }
|
||||
|
|
|
|||
Loading…
Reference in New Issue