You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reason is that random access (in fact, even forward) concept requires the iterator to be default constructible which integer_iterator_with_step is not.
The text was updated successfully, but these errors were encountered:
The docs say that
irange
produces a random access range but that's not true for the strided version.The following code fails to compile:
See https://gcc.godbolt.org/z/n4hqjj5bf
The reason is that random access (in fact, even forward) concept requires the iterator to be default constructible which
integer_iterator_with_step
is not.The text was updated successfully, but these errors were encountered: