3 ms·
What happened to using: mylist->remove(object); Let the underlying algorithm take care of it. No need to write out the loop. Also, this makes it easy to the
by X-Istence 14y ago
What happened to using:
mylist->remove(object);
Let the underlying algorithm take care of it. No need to write out the loop. Also, this makes it easy to then switch to std::vector or a hash based list or something else where walking the list may not be required.