Changeset 1900:b16ca599472f in lemon-0.x for lemon/lp_base.h
- Timestamp:
- 01/19/06 17:56:39 (18 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2475
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/lp_base.h
r1899 r1900 177 177 Col() {} 178 178 Col(const Invalid&) : id(-1) {} 179 bool operator<(Col c) const {return id<c.id;} 179 bool operator< (Col c) const {return id< c.id;} 180 bool operator> (Col c) const {return id> c.id;} 180 181 bool operator==(Col c) const {return id==c.id;} 181 bool operator!=(Col c) const {return id ==c.id;}182 bool operator!=(Col c) const {return id!=c.id;} 182 183 }; 183 184 … … 201 202 Row(const Invalid&) : id(-1) {} 202 203 203 bool operator<(Row c) const {return id<c.id;} 204 bool operator< (Row c) const {return id< c.id;} 205 bool operator> (Row c) const {return id> c.id;} 204 206 bool operator==(Row c) const {return id==c.id;} 205 bool operator!=(Row c) const {return id ==c.id;}207 bool operator!=(Row c) const {return id!=c.id;} 206 208 }; 207 209
Note: See TracChangeset
for help on using the changeset viewer.