lemon/bits/invalid.h
changeset 144 4e626dbbe408
parent 39 0a01d811071f
child 209 765619b7cbb2
equal deleted inserted replaced
2:5a9127eaa91d 3:7e8b75b92425
    24 
    24 
    25 namespace lemon {
    25 namespace lemon {
    26 
    26 
    27   /// \brief Dummy type to make it easier to create invalid iterators.
    27   /// \brief Dummy type to make it easier to create invalid iterators.
    28   ///
    28   ///
       
    29   /// Dummy type to make it easier to create invalid iterators.
    29   /// See \ref INVALID for the usage.
    30   /// See \ref INVALID for the usage.
    30   struct Invalid {
    31   struct Invalid {
    31   public:
    32   public:
    32     bool operator==(Invalid) { return true;  }
    33     bool operator==(Invalid) { return true;  }
    33     bool operator!=(Invalid) { return false; }
    34     bool operator!=(Invalid) { return false; }