From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1E93E3858D32; Mon, 16 Jan 2023 06:40:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1E93E3858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1673851207; bh=ES7n+yubSRWsXwajoSanaio+xWxlYX1oeBpSePg/lAk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=oWb89As0wunC6M5WVJ3BCZUJWCtAsHM/pZRPxKkrNm95dBDCXPAQJsOrIiBs92ne4 DwG8HjfYuBdnrJdLftEFmwlA7hYiVPAw65tXpfPaNwbsufPUCDVDWI81BmlG46GMaB kA9l2gLTGoGnTGC9W9VJixNB+IWbKr5/uvHDxlr0= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/108414] template meta programming Date: Mon, 16 Jan 2023 06:40:06 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 12.2.0 X-Bugzilla-Keywords: c++-lambda, rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org 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: keywords 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=3D108414 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |c++-lambda, rejects-valid --- Comment #1 from Andrew Pinski --- > using nth_element_t =3D typename decltype([](const indexed&){return std::type_identity{};}(make_indexer()))::type; There are some known issue with lambda inside a decltype which seems like m= ight be causing issues here ...=