Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

1
  • Thanks! I realized the same upon reading my own question: the default implementation of the stride functions make use (via Stridable types += operator) of the non-bounds-checking advancedBy(_:), which in combination with the non-thorough bounds testing in StrideToIterator .next() will fail the crucial test you've performed above. Commented Mar 24, 2016 at 17:28