Changeset 525f7ad for libcfa/src/enum.cfa
- Timestamp:
- Jun 19, 2024, 3:20:39 PM (2 weeks ago)
- Branches:
- master
- Children:
- 57e43cd
- Parents:
- 1725989
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/enum.cfa
r1725989 r525f7ad 13 13 return os | type_name(e) | "." | labelE(e); 14 14 } 15 16 forall(ostype & | basic_ostream(ostype), E, V| CfaEnum(E, V)) { 17 int ?==?(E l, E r) { return posE(l) == posE(r); } 18 int ?<=?(E l, E r) { return posE(l) <= posE(r); } 19 int ?>=?(E l, E r) { return posE(l) >= posE(r); } 20 int ?<?(E l, E r) { return posE(l) < posE(r); } 21 int ?>?(E l, E r) { return posE(l) > posE(r); } 22 }
Note: See TracChangeset
for help on using the changeset viewer.