cpp/container/forward list/erase after

Removes specified elements from the container.

@1@ Removes the element following.

@2@ Removes the elements following until.

Return value
@1@ Iterator to the element following the erased one, or end if no such element exists.

@2@

Complexity
@1@ Constant.

@2@ Linear in distance between and.