Changed the remove algorithms to return the range after the removed element, not before.

Signed-off-by: Marcin Zalewski <marcin.zalewski@gmail.com>
Changed the backward single iterator range to store a decremented copy of the "last" iterator.

Signed-off-by: Marcin Zalewski <marcin.zalewski@gmail.com>
Fixed the copy backward test to use the new and improved backward iterator.

Signed-off-by: Marcin Zalewski <marcin.zalewski@gmail.com>
The reverse_copy test was incorrectly using a backward range.

Signed-off-by: Marcin Zalewski <marcin.zalewski@gmail.com>
Added move tests.

Signed-off-by: Marcin Zalewski <marcin.zalewski@gmail.com>
Fixed a bug in remove_copy_if.

Signed-off-by: Marcin Zalewski <marcin.zalewski@gmail.com>
Added remove tests.

Signed-off-by: Marcin Zalewski <marcin.zalewski@gmail.com>
Added replace tests.

Signed-off-by: Marcin Zalewski <marcin.zalewski@gmail.com>
Added range swap.

Signed-off-by: Marcin Zalewski <marcin.zalewski@gmail.com>
Added tests.

Signed-off-by: Marcin Zalewski <marcin.zalewski@gmail.com>
Fixed bugs in find_end.

Signed-off-by: Marcin Zalewski <marcin.zalewski@gmail.com>
Added tests for find_end.

Signed-off-by: Marcin Zalewski <marcin.zalewski@gmail.com>
Removed an unnecessary change of names.

Signed-off-by: Marcin Zalewski <marcin.zalewski@gmail.com>
Added more tests.