mirror of https://github.com/CGAL/cgal
Add null comparison operators to vector_iterator
This commit is contained in:
parent
0dcadee486
commit
b42bbded9b
|
|
@ -109,6 +109,8 @@ public:
|
|||
tmp += n;
|
||||
return tmp.operator*();
|
||||
}
|
||||
bool operator==( std::nullptr_t) const { return ptr == nullptr; }
|
||||
bool operator!=( std::nullptr_t) const { return ptr != nullptr; }
|
||||
bool operator< ( const Self& i) const { return ( ptr < i.ptr); }
|
||||
bool operator> ( const Self& i) const { return i < *this; }
|
||||
bool operator<=( const Self& i) const { return !(i < *this); }
|
||||
|
|
|
|||
Loading…
Reference in New Issue