19 {
21 {
22 return -1;
23 }
25 {
26 return 1;
27 }
28 else
29 {
31 *iteratorAnother(anotherMonom.ListHead);
32 while (iterator)
33 {
34 if (iterator->Value < iteratorAnother->Value)
35 {
36 return 1;
37 }
38 if (iterator->Value > iteratorAnother->Value)
39 {
40 return -1;
41 }
42 iterator = iterator->Next;
43 iteratorAnother = iteratorAnother->Next;
44 }
45 return 0;
46 }
47 }
Singly linked-list node of a Monom's variable list, with a per-class slab allocator.