ADT
aaron-thesis
arm-eh
ast-experimental
cleanup-dtors
deferred_resn
demangler
enum
forall-pointer-decay
jacob/cs343-translation
jenkins-sandbox
new-ast
new-ast-unique-expr
new-env
no_list
persistent-indexer
pthread-emulation
qualifiedEnum
resolv-new
with_gc
|
Last change
on this file since d06c808 was 627f585, checked in by Rob Schluntz <rschlunt@…>, 9 years ago |
|
moved new and delete to stdlib
|
-
Property mode
set to
100644
|
|
File size:
185 bytes
|
| Line | |
|---|
| 1 | #include "avl.h"
|
|---|
| 2 |
|
|---|
| 3 | forall(otype T | Comparable(T))
|
|---|
| 4 | int ?==?(T t1, T t2) {
|
|---|
| 5 | return !(t1 < t2) && !(t2 < t1);
|
|---|
| 6 | }
|
|---|
| 7 |
|
|---|
| 8 | forall(otype T | Comparable(T))
|
|---|
| 9 | int ?>?(T t1, T t2) {
|
|---|
| 10 | return t2 < t1;
|
|---|
| 11 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.