Changeset 28e58fd for src/tests/avltree/avl.h
- Timestamp:
- Aug 25, 2017, 10:38:34 AM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 800d275
- Parents:
- af08051 (diff), 3eab308c (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tests/avltree/avl.h
raf08051 r28e58fd 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.