Changes in src/examples/ctxts.c [86bd7c1f:4040425]
- File:
-
- 1 edited
-
src/examples/ctxts.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/examples/ctxts.c
r86bd7c1f r4040425 10 10 // Created On : Wed May 27 17:56:53 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed Ma y 27 18:11:19 201513 // Update Count : 212 // Last Modified On : Wed Mar 2 18:10:21 2016 13 // Update Count : 3 14 14 // 15 15 16 context has_f( type T ) {16 trait has_f( type T ) { 17 17 T f( T ); 18 18 }; 19 19 20 context has_g( type U | has_f( U ) ) {20 trait has_g( type U | has_f( U ) ) { 21 21 U g( U ); 22 22 };
Note:
See TracChangeset
for help on using the changeset viewer.