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