[Lemon-commits] [lemon_svn] alpar: r1003 - hugo/branches/hugo++/src/hugo
Lemon SVN
svn at lemon.cs.elte.hu
Mon Nov 6 20:42:40 CET 2006
Author: alpar
Date: Tue Jul 27 21:13:42 2004
New Revision: 1003
Modified:
hugo/branches/hugo++/src/hugo/list_graph.h
Log:
setInvalid() is deprecated.
Modified: hugo/branches/hugo++/src/hugo/list_graph.h
==============================================================================
--- hugo/branches/hugo++/src/hugo/list_graph.h (original)
+++ hugo/branches/hugo++/src/hugo/list_graph.h Tue Jul 27 21:13:42 2004
@@ -889,9 +889,19 @@
bool valid(Edge e) const { return false; }
bool valid(Node n) const { return n.n!=-1; }
- void setInvalid(Edge &e) { }
- void setInvalid(Node &n) { n.n=-1; }
-
+ ///\deprecated Use
+ ///\code
+ /// e=INVALID;
+ ///\endcode
+ ///instead.
+ static void setInvalid(Edge &e) { e=INVALID; }
+ ///\deprecated Use
+ ///\code
+ /// e=INVALID;
+ ///\endcode
+ ///instead.
+ static void setInvalid(Node &n) { n=INVALID; }
+
template <typename It> It getNext(It it) const
{ It tmp(it); return next(tmp); }
More information about the Lemon-commits
mailing list