Changeset c8025a21
- Timestamp:
- Dec 17, 2020, 9:55:13 AM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 28e88d7
- Parents:
- 53449a4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/multi_list.cfa
r53449a4 rc8025a21 19 19 } 20 20 21 TaskDL *& Back( TaskDL * n ) { 22 return (TaskDL *)Back( (Seqable *)n ); 23 } 24 25 TaskDL *& Next( TaskDL * n ) { 26 return (TaskDL *)Next( (Colable *)n ); 27 } 28 29 bool listed( TaskDL * n ) { 30 return Next( (Colable *)n ) != 0p; 31 } 32 21 33 struct TaskSL { 22 34 inline Colable; … … 29 41 Task & task( TaskSL & this ) with( this ) { // getter routine for containing node 30 42 return node; 43 } 44 45 TaskSL *& Next( TaskSL * n ) { 46 return (TaskSL *)Next( (Colable *)n ); 47 } 48 49 bool listed( TaskSL * n ) { 50 return Next( (Colable *)n ) != 0p; 31 51 } 32 52
Note: See TracChangeset
for help on using the changeset viewer.