Changeset 41c8312
- Timestamp:
- May 8, 2024, 6:46:57 PM (7 months ago)
- Branches:
- master
- Children:
- acb33f15, c92bdcc
- Parents:
- 03ac869
- Location:
- libcfa/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/enum.cfa
r03ac869 r41c8312 1 1 #include "enum.hfa" 2 #include "fstream.hfa"3 2 4 3 #pragma GCC visibility push(default) -
libcfa/src/enum.hfa
r03ac869 r41c8312 23 23 T valueE(E e); 24 24 }; 25 26 forall(E | TypedEnum(T, E)) { 27 // comparison 28 int ?==?(E l, E r); 29 int ?!=?(E l, E r); 30 int ?!=?(E l, zero_t); 31 int ?<?(E l, E r); 32 int ?<=?(E l, E r); 33 int ?>?(E l, E r); 34 int ?>=?(E l, E r); 35 } 25 36 } 26 27 28 forall(T, E | TypedEnum(T, E)) {29 // comparison30 int ?==?(E l, E r);31 int ?!=?(E l, E r);32 int ?!=?(E l, zero_t);33 int ?<?(E l, E r);34 int ?<=?(E l, E r);35 int ?>?(E l, E r);36 int ?>=?(E l, E r);37 }
Note: See TracChangeset
for help on using the changeset viewer.