* refine the try_erase to make it accept an iterator and a count (easier to work with at the call site) * added a test for the stable clear * added a note for future improvements
* refine the try_erase to make it accept an iterator and a count (easier to work with at the call site) * added a test for the stable clear * added a note for future improvements