equal
deleted
inserted
replaced
22 ///\file |
22 ///\file |
23 ///\brief Definition of INVALID. |
23 ///\brief Definition of INVALID. |
24 |
24 |
25 namespace lemon { |
25 namespace lemon { |
26 |
26 |
27 /// Dummy type to make it easier to make invalid iterators. |
27 /// \brief Dummy type to make it easier to make invalid iterators. |
28 |
28 |
29 /// See \ref INVALID, how to use it. |
29 /// See \ref INVALID for the usage. |
30 |
|
31 struct Invalid { |
30 struct Invalid { |
32 public: |
31 public: |
33 bool operator==(Invalid) { return true; } |
32 bool operator==(Invalid) { return true; } |
34 bool operator!=(Invalid) { return false; } |
33 bool operator!=(Invalid) { return false; } |
35 bool operator< (Invalid) { return false; } |
34 bool operator< (Invalid) { return false; } |