https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93651

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
After consulting the C++ committee I can confirm that it's by design that
iota_view's iterator does not model cpp17-input-iterator. It cannot necessarily
be used in old APIs expecting an iterator.


It is expected that vector and other containers will gain new constructors
taking a range (after C++20), so that the old constructors taking old iterators
don't need to work with new iterators.

Reply via email to