From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 26ADB3858D32; Mon, 13 Mar 2023 17:57:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 26ADB3858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1678730250; bh=k1QOKoml6xTd2Gu7d4mNzFR3mCmyuXjc9jpccN5oomw=; h=From:To:Subject:Date:From; b=l8NT3Ron+VQ8KFfuCf/3LIGSxuxB9BVl9rN0TWivco2tYmJTQMfhn+BmI1YrYFfYL FmLI7bYvP0D4gAbIamNeEwrk93Z2t+j6lta4Pa7XBlHXKxkdVzHwPnNG1Pmd6uBlom ynvhsPHsUQkqxZwaC6C77m0P8RamPndGgUTH+szs= From: "rs2740 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/109111] New: Definition of repeat_view::_Iterator has wrong template-head Date: Mon, 13 Mar 2023 17:57:29 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rs2740 at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D109111 Bug ID: 109111 Summary: Definition of repeat_view::_Iterator has wrong template-head Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: rs2740 at gmail dot com Target Milestone: --- In : template requires (is_object_v<_Tp> && same_as<_Tp, remove_cv_t<_Tp>> && (__detail::__is_integer_like<_Bound> || same_as<_Bound, unreachable_sentinel_t>)) class repeat_view : /* ... */ template requires __detail::__is_integer_like<_Bound> || same_as<_Bound, unreachable_sentinel_t> class repeat_view<_Tp, _Bound>::_Iterator The requires-clause should match. Clang trunk diagnoses this (but not GCC, so there's probably a compiler bug here too).=