[Lemon-commits] [lemon_svn] alpar: r546 - hugo/trunk/src/include
Lemon SVN
svn at lemon.cs.elte.hu
Mon Nov 6 20:40:08 CET 2006
Author: alpar
Date: Mon Apr 26 13:11:55 2004
New Revision: 546
Modified:
hugo/trunk/src/include/invalid.h
Log:
To be on the safe side...
Modified: hugo/trunk/src/include/invalid.h
==============================================================================
--- hugo/trunk/src/include/invalid.h (original)
+++ hugo/trunk/src/include/invalid.h Mon Apr 26 13:11:55 2004
@@ -12,7 +12,12 @@
/// See \ref INVALID, how to use it.
- struct Invalid {};
+ struct Invalid {
+ public:
+ bool operator==(Invalid) { return true; }
+ bool operator!=(Invalid) { return false; }
+ bool operator< (Invalid) { return false; }
+ };
/// Invalid iterators.
More information about the Lemon-commits
mailing list