https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113074
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
URL| |oh my
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Just because something compiles with clang and/or libc++ doesn't mean gcc is
wrong, that's not how a standard works.
When this was brought up with LWG it was pointed out that the library only
checks for to_address when an iterator has explicitly opted in to it by using
iterator_concept = contiguous_iterator_concept and that it is better to error
than silently degrade to random access.