Add missing operator>= to DocIterator

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26120 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2008-08-12 09:51:00 +00:00
parent e5e65c031c
commit 8602143775

View File

@ -309,6 +309,13 @@ bool operator<=(DocIterator const & p, DocIterator const & q)
}
inline
bool operator>=(DocIterator const & p, DocIterator const & q)
{
return !(p < q);
}
// The difference to a ('non stable') DocIterator is the removed
// (overwritten by 0...) part of the CursorSlice data items. So this thing
// is suitable for external storage, but not for iteration as such.