aaron-thesisarm-ehcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change
on this file since a0ad7dc was
122aecd,
checked in by Aaron Moss <a3moss@…>, 6 years ago
|
Expand benchmarks
|
-
Property mode set to
100644
|
File size:
459 bytes
|
Line | |
---|
1 | forall(otype T) struct stack_node; |
---|
2 | |
---|
3 | forall(otype T) struct stack { |
---|
4 | stack_node(T)* head; |
---|
5 | }; |
---|
6 | |
---|
7 | forall(otype T) void ?{}(stack(T)* s); |
---|
8 | |
---|
9 | forall(otype T) void ?{}(stack(T)* s, stack(T) t); |
---|
10 | |
---|
11 | forall(otype T) stack(T) ?=?(stack(T)* s, stack(T) t); |
---|
12 | |
---|
13 | forall(otype T) void ^?{}(stack(T)* s); |
---|
14 | |
---|
15 | forall(otype T) _Bool empty(const stack(T)* s); |
---|
16 | |
---|
17 | forall(otype T) void push(stack(T)* s, T value); |
---|
18 | |
---|
19 | forall(otype T) T pop(stack(T)* s); |
---|
20 | |
---|
21 | forall(otype T) void clear(stack(T)* s); |
---|
Note: See
TracBrowser
for help on using the repository browser.