- Timestamp:
- Jun 29, 2024, 5:02:49 AM (7 months ago)
- Branches:
- master
- Children:
- 115ac1ce
- Parents:
- 5ccc733 (diff), 3c55fcd (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- libcfa/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/enum.cfa
r5ccc733 r4117761 6 6 forall( ostype & | basic_ostream(ostype), E, V | CfaEnum(E, V) ) { 7 7 ostype & ?|?( ostype& os, E e ) { 8 // if ( scoped( e ) ) os | type_name( e ) | '.' | nonl;9 8 return os | label( e ); 10 9 } … … 12 11 } 13 12 14 // forall( ostype & | basic_ostream(ostype), E | CfaEnum(E, quasi_void) ) 15 // ostype & ?|?( ostype & os, E e ) { 16 // // return os | type_name(e) | "." | label(e); 17 // return os | label( e ); 18 // } 13 forall( ostype & | basic_ostream(ostype), E | CfaEnum(E, quasi_void) ) 14 ostype & ?|?( ostype & os, E e ) { 15 return os | label( e ); 16 } 19 17 20 18 forall( E, V | CfaEnum(E, V) ) { // relational operators -
libcfa/src/enum.hfa
r5ccc733 r4117761 20 20 unsigned int posn( E e ); 21 21 V value( E e ); 22 char * type_name( E e );23 // bool scoped( E e );24 22 }; 25 23 … … 31 29 } 32 30 33 //forall( ostype & | basic_ostream(ostype), E | CfaEnum(E, quasi_void) )34 //ostype & ?|?( ostype &, E );31 forall( ostype & | basic_ostream(ostype), E | CfaEnum(E, quasi_void) ) 32 ostype & ?|?( ostype &, E ); 35 33 36 34 // Design two <- should go for this if we have change the cost model
Note: See TracChangeset
for help on using the changeset viewer.