lemon/bits/invalid.h
changeset 2252 133028e83940
parent 2142 b089e7195664
child 2391 14a343be7a5a
equal deleted inserted replaced
2:8531204b6765 3:265f05daf8c7
    23 ///\brief Definition of INVALID.
    23 ///\brief Definition of INVALID.
    24 
    24 
    25 namespace lemon {
    25 namespace lemon {
    26 
    26 
    27   /// \brief 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 for the usage.
    29   /// See \ref INVALID for the usage.
    30   struct Invalid {
    30   struct Invalid {
    31   public:
    31   public:
    32     bool operator==(Invalid) { return true;  }
    32     bool operator==(Invalid) { return true;  }
    33     bool operator!=(Invalid) { return false; }
    33     bool operator!=(Invalid) { return false; }