326 {
328 *anotherIterator = anotherMonom.ListHead;
329
330 while (*iterator && anotherIterator)
331 {
332 if ((*iterator)->Value == anotherIterator->Value)
333 {
335 *iterator = (*iterator)->
Next;
336 delete nodeToDelete;
338 anotherIterator = anotherIterator->Next;
339 }
340 else if ((*iterator)->Value < anotherIterator->Value)
341 {
342 iterator = &((*iterator)->Next);
343 }
344 }
345
346 return *this;
347 }
Singly linked-list node of a Monom's variable list, with a per-class slab allocator.