Changes in libcfa/src/enum.hfa [26d40a1:e49c308]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/enum.hfa
r26d40a1 re49c308 4 4 5 5 forall( E ) trait Bounded { 6 E lowerBound( void);7 E upperBound( void);6 E lowerBound(); 7 E upperBound(); 8 8 }; 9 9 … … 54 54 55 55 static inline 56 forall( E | CfaEnum(E) | Serial(E) ) {56 forall( E | Serial(E) | CfaEnum(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.