public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/112490] New: infinite meta error in reverse_iterator<basic_const_iterator<vector<int>::iterator>>
@ 2023-11-12 11:33 hewillk at gmail dot com
  2023-11-13  0:20 ` [Bug c++/112490] " pinskia at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: hewillk at gmail dot com @ 2023-11-12 11:33 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 112490
           Summary: infinite meta error in
                    reverse_iterator<basic_const_iterator<vector<int>::ite
                    rator>>
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hewillk at gmail dot com
  Target Milestone: ---

#include <iterator>
#include <vector>

using I = std::vector<int>::iterator;
using CI = std::basic_const_iterator<I>;
using RCI = std::reverse_iterator<CI>;
static_assert(std::totally_ordered<RCI>);

https://godbolt.org/z/14zsETc4d

The fact that libc++ does not generate an error suggests that this may be a
language bug.
Not sure where the real issue here, I will reduce it when I have time.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-04-05 17:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-12 11:33 [Bug c++/112490] New: infinite meta error in reverse_iterator<basic_const_iterator<vector<int>::iterator>> hewillk at gmail dot com
2023-11-13  0:20 ` [Bug c++/112490] " pinskia at gcc dot gnu.org
2023-11-13  0:21 ` pinskia at gcc dot gnu.org
2024-04-05 17:45 ` barry.revzin at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).