Changeset 4740281 for doc/theses/mike_brooks_MMath/programs
- Timestamp:
- Apr 17, 2025, 10:25:00 PM (8 months ago)
- Branches:
- master
- Children:
- 9dd1dd6
- Parents:
- 15eebd4
- Location:
- doc/theses/mike_brooks_MMath/programs
- Files:
-
- 2 edited
-
lst-features-intro.run.cfa (modified) (1 diff)
-
lst-features-multidir.run.cfa (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/mike_brooks_MMath/programs/lst-features-intro.run.cfa
r15eebd4 r4740281 20 20 struct req { 21 21 int pri, rqr; 22 inline dlink(req); 22 inline dlink(req); // containment inheritance, fields hoisted into structure 23 23 }; 24 24 25 25 dlist(req) reqs; 26 26 27 req 28 r1 = {1, 42}, 29 r2 = {2, 42}; 27 req r1 = {1, 42}, r2 = {2, 42}; 30 28 31 29 insert_first(reqs, r2); 32 30 insert_first(reqs, r1); 31 32 33 33 34 34 -
doc/theses/mike_brooks_MMath/programs/lst-features-multidir.run.cfa
r15eebd4 r4740281 28 28 29 29 30 31 30 32 // need to spice this case; can't forward declare nested struct 31 33 P9_EMBEDDED_INFUNC(req, req.by_pri) … … 33 35 P9_EMBEDDED_INFUNC(req.by_pri, dlink(req)) 34 36 P9_EMBEDDED_INFUNC(req.by_rqr, dlink(req)) 37 38 35 39 36 40
Note:
See TracChangeset
for help on using the changeset viewer.