- Timestamp:
- Aug 14, 2024, 11:55:13 AM (4 months ago)
- Branches:
- master
- Children:
- d1f5054
- Parents:
- acab1bd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/enum.hfa
racab1bd r26d40a1 4 4 5 5 forall( E ) trait Bounded { 6 E lowerBound( );7 E upperBound( );6 E lowerBound(void); 7 E upperBound(void); 8 8 }; 9 9 … … 54 54 55 55 static inline 56 forall( E | Serial(E) | CfaEnum(E) ) {56 forall( E | CfaEnum(E) | Serial(E) ) { 57 57 int ?==?( E l, E r ) { return posn( l ) == posn( r ); } // relational operators 58 58 int ?!=?( E l, E r ) { return posn( l ) != posn( r ); }
Note: See TracChangeset
for help on using the changeset viewer.