On Thursday, 23 March 2017 at 03:02:54 UTC, Jonathan M Davis wrote:
On Thursday, March 23, 2017 02:53:40 Soulsbane via Digitalmars-d-learn wrote:
[...]

find just iterates to the first element that matches. It doesn't affect the range beyond that. It works basically the same way that find would work with iterators in that it iterates until it finds the element you're looking for. However, since ranges then refer to more than one element at a time, the rest of the range beyond that element is still there.

[...]

Thanks a lot for the explanation. It's much clearer to me now! You've been a big help.

Reply via email to