COIN-OR::LEMON - Graph Library

Changeset 412:5d48b6773b73 in lemon-0.x for src/include/invalid.h


Ignore:
Timestamp:
04/26/04 13:11:55 (21 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@546
Message:

To be on the safe side...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/include/invalid.h

    r389 r412  
    1313  /// See \ref INVALID, how to use it.
    1414 
    15   struct Invalid {};
     15  struct Invalid {
     16  public:
     17    bool operator==(Invalid) { return true;  }
     18    bool operator!=(Invalid) { return false; }
     19    bool operator< (Invalid) { return false; }
     20  };
    1621 
    1722  /// Invalid iterators.
Note: See TracChangeset for help on using the changeset viewer.