From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 696DE3858CDB; Thu, 11 Apr 2024 23:44:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 696DE3858CDB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1712879059; bh=gc4UlVxQaC5aa3u+3cd58gpKPCSa2FlG9jtLgtmHomo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=qevfKZdrOIWkCDm323Q2Nxfp8QRVn0DWDghV/nyilxlICDzQNj4RZIZnNupB9cBit kZeeDv0DeF0MyRUotSoyme5cb+ptU+34dVm1giX6VMtzgumpYzjK6PZkXmL6d2DLCi LRNHw7hJewpddBjNgd5AEvEkTHHlf4QOxIDJMDV8= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/114695] Template argument deduction and defaulted template template parameters Date: Thu, 11 Apr 2024 23:44:18 +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: 13.2.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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: cf_reconfirmed_on bug_status everconfirmed 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=3D114695 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2024-04-11 Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski --- Confirmed; EDG accepts it also in C++17 (and C++20) modes.=20 Also note If I change slice_by_type to take Bar instead of the template argument, it works which makes it feel like for some reason GCC is not able= to deduce the arguments properly.=