Changes in src/tests/avltree/avl.h [6b0b624:db67b11]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tests/avltree/avl.h
r6b0b624 rdb67b11 21 21 // xxx - unbound type variable problems when trying to use new instead of create 22 22 // forall( otype T, ttype Params | { void ?{}(T *, Params); } ) T * new( Params p ); 23 24 forall(dtype T | { void ^?{}(T *); })25 void delete(T * x);26 23 27 24 // To-do: properly use height or balance factor … … 58 55 59 56 forall(otype K | Comparable(K), otype V) 60 void ?{}(tree(K, V) *t, K key, V value);57 void ?{}(tree(K, V) &t, K key, V value); 61 58 62 59 forall(otype K, otype V) 63 void ^?{}(tree(K, V) *t);60 void ^?{}(tree(K, V) & t); 64 61 65 62 forall(otype K | Comparable(K), otype V)
Note:
See TracChangeset
for help on using the changeset viewer.