I see that erase() returns true or false, depending on whether the item was erase by 'particularly this call'.
Does anyone know why this might return false? Perhaps the item might already have been removed?
I'm just need to find out whether I can call erase() and ignore the return, or whether I need to loop until it returns true to make sure the item really is erased.
Any advice appreciated!