On 2010-05-26 20:09:15 -0400, Andrei Alexandrescu <seewebsiteforem...@erdani.org> said:

On 05/26/2010 06:07 PM, Jonathan M Davis wrote:
Looks interesting overall. There is one function, however, which makes no
sense to me: removeElement()/stableRemoveElement().

[...]

If the container is a worklist with items to work on, it sometimes doesn't matter in which order you extract them.

May I suggest naming it "removeAny"? This fits better with "removeBack" and "removeFront" (where the second word represent the position), and makes clear that you don't really care which element is removed.

--
Michel Fortin
michel.for...@michelf.com
http://michelf.com/

Reply via email to