From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 348CB3858D34; Fri, 29 Mar 2024 21:21:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 348CB3858D34 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1711747278; bh=1tFRwo2VJCBvn1O2pf7YFb5K1AIFa23KxcUhPtjf0Jg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=GB4EjGP6aMTaLH184n/dt9nwNStenwDbBLmRJkwuDW5EZwJUbar0M8JiSvX5ZtU17 mXC/llqyhfq8z1E4NL05i8r5g1wIw7e3XdzU4VFnOaFMBsqnckXigkvQHmVYHFH0fe RJRmsiF64ytN0AEwQF2otgdb8EV+2gbQqRlIjUKw= From: "ppalka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/103924] views::join combined with std::string cannot be used in constant expressions Date: Fri, 29 Mar 2024 21:21:17 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ppalka at gcc dot gnu.org X-Bugzilla-Status: NEW 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: Message-ID: In-Reply-To: References: 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=3D103924 --- Comment #3 from Patrick Palka --- >From PR114530: #include #include static_assert( std::ranges::distance( std::views::single(std::views::cartesian_product(std::string{})) | std::views::join ) =3D=3D 0 );=