Re: [PATCH] Fix path::iterator post-increment and post-decrement

2017-10-20 Thread Jonathan Wakely
On 19/10/17 15:00 +0100, Jonathan Wakely wrote: I made a dumb mistake in the post-inc and post-dec operators for the path::iterator type, forgetting that _M_cur is sometimes null (for a single-element path). * include/experimental/bits/fs_path.h (path::iterator++(int))

[PATCH] Fix path::iterator post-increment and post-decrement

2017-10-19 Thread Jonathan Wakely
I made a dumb mistake in the post-inc and post-dec operators for the path::iterator type, forgetting that _M_cur is sometimes null (for a single-element path). * include/experimental/bits/fs_path.h (path::iterator++(int)) (path::iterator--(int)): Fix for paths with only one