cpp/string/basic string/erase

Removes specified characters from the string.

@1@ Removes characters starting at.

@2@ Removes the character at.

@@ If is not a dereferenceable iterator on, the behavior is undefined.

@3@ Removes the characters in the range.

@@ If or  is not a valid iterator on, or  is not a valid range, the behavior is undefined.

Return value
@1@

@2@ Iterator pointing to the character immediately following the character erased, or end if no such character exists.

@3@ Iterator pointing to the character pointed to before the erase, or end if no such character exists.

Exceptions
@1@ std if. @2,3@ Throws nothing.