lemon/bits/invalid.h
changeset 216 6d7bfcf5b48e
parent 49 9a556af88710
equal deleted inserted replaced
3:7e8b75b92425 4:4dbd9fd02c7e
     1 /* -*- C++ -*-
     1 /* -*- mode: C++; indent-tabs-mode: nil; -*-
     2  *
     2  *
     3  * This file is a part of LEMON, a generic C++ optimization library
     3  * This file is a part of LEMON, a generic C++ optimization library.
     4  *
     4  *
     5  * Copyright (C) 2003-2008
     5  * Copyright (C) 2003-2008
     6  * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
     6  * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
     7  * (Egervary Research Group on Combinatorial Optimization, EGRES).
     7  * (Egervary Research Group on Combinatorial Optimization, EGRES).
     8  *
     8  *
    32   public:
    32   public:
    33     bool operator==(Invalid) { return true;  }
    33     bool operator==(Invalid) { return true;  }
    34     bool operator!=(Invalid) { return false; }
    34     bool operator!=(Invalid) { return false; }
    35     bool operator< (Invalid) { return false; }
    35     bool operator< (Invalid) { return false; }
    36   };
    36   };
    37   
    37 
    38   /// \brief Invalid iterators.
    38   /// \brief Invalid iterators.
    39   ///
    39   ///
    40   /// \ref Invalid is a global type that converts to each iterator
    40   /// \ref Invalid is a global type that converts to each iterator
    41   /// in such a way that the value of the target iterator will be invalid.
    41   /// in such a way that the value of the target iterator will be invalid.
    42 
    42 
    50 #endif
    50 #endif
    51 
    51 
    52 } //namespace lemon
    52 } //namespace lemon
    53 
    53 
    54 #endif
    54 #endif
    55   
    55