ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change
on this file since 00c32e9 was
bee4283,
checked in by Thierry Delisle <tdelisle@…>, 7 years ago
|
GC files now compile, still working on a compiling example
|
-
Property mode set to
100644
|
File size:
306 bytes
|
Line | |
---|
1 | forall(otype T) |
---|
2 | struct wrap |
---|
3 | { |
---|
4 | T value; |
---|
5 | }; |
---|
6 | |
---|
7 | forall(otype T) void ?{}(wrap(T)* this); |
---|
8 | forall(otype T) void ?{}(wrap(T)* this, wrap(T)* rhs); |
---|
9 | forall(otype T) void ^?{}(wrap(T)* this); |
---|
10 | forall(otype T) void ?=?(wrap(T)* this, wrap(T)* rhs); |
---|
11 | |
---|
12 | forall(otype T) |
---|
13 | wrap(T) test() |
---|
14 | { |
---|
15 | wrap(T) tester; |
---|
16 | return tester; |
---|
17 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.