Changeset 897:ef09eee53b09 in lemon-0.x for src/hugo/extended_pair.h
- Timestamp:
- 09/22/04 10:04:31 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1205
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/hugo/extended_pair.h
r782 r897 37 37 bool operator<(const extended_pair<T1, LA1, T2, LA2>& left, 38 38 const extended_pair<T1, RA1, T2, RA2>& right) { 39 if (left.first == right.first) return left.second == right.second;40 return left.first < right.first;39 return left.first < right.first || 40 (!(right.first<left.first) && left.second < right.second); 41 41 } 42 42
Note: See TracChangeset
for help on using the changeset viewer.