ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change
on this file since 986dd36 was
986dd36,
checked in by Rob Schluntz <rschlunt@…>, 6 years ago
|
Update CFA evaluation code
|
-
Property mode set to
100644
|
File size:
466 bytes
|
Rev | Line | |
---|
[604e76d] | 1 | #pragma once |
---|
| 2 | |
---|
| 3 | forall(otype T) struct stack_node; |
---|
| 4 | forall(otype T) struct stack { |
---|
| 5 | stack_node(T)* head; |
---|
| 6 | }; |
---|
| 7 | |
---|
[986dd36] | 8 | forall(otype T) void ?{}(stack(T)& s); |
---|
| 9 | forall(otype T) void ?{}(stack(T)& s, stack(T) t); |
---|
| 10 | forall(otype T) stack(T) ?=?(stack(T)& s, stack(T) t); |
---|
| 11 | forall(otype T) void ^?{}(stack(T)& s); |
---|
[604e76d] | 12 | |
---|
[986dd36] | 13 | forall(otype T) _Bool empty(const stack(T)& s); |
---|
| 14 | forall(otype T) void push(stack(T)& s, T value); |
---|
| 15 | forall(otype T) T pop(stack(T)& s); |
---|
| 16 | forall(otype T) void clear(stack(T)& s); |
---|
Note: See
TracBrowser
for help on using the repository browser.