From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 154343875462; Thu, 27 Jun 2024 00:34:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 154343875462 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1719448463; bh=z32MiqWriHUC0HHRQAOcjURyfW9oJKJCh/t1g+SRJHY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=QQH45DTKB1JroF2pdy56R7OAoT0fsJwuIlDjDHDhFUonYx5PQdUMOqaK6/JmlUIvk L1msFPuc1Ci2o4JYHtbJuBlu/Sg/OcWQxYWcGjOecLe+hIRY7kduO6Cr2dECSLslB5 UD2n/9oLuZ4/UdGF9OySRxsKsD6Y8m9L1yorpFa4= From: "s.murthy at outlook dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/115672] Incorrect template type parameter deduced in non-deduced context if class template has template template parameter Date: Thu, 27 Jun 2024 00:34:22 +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: 14.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: s.murthy at outlook 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: attachments.created 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=3D115672 --- Comment #2 from Sean Murthy --- Created attachment 58526 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D58526&action=3Dedit Compiler output for the repro Produced with GCC 14.1. static_asserts adjusted (negations where it fails incorrectly) such that program compiles successfully. g++ -v -save-temps -std=3Dc++20 -Wall -Wextra -pedantic -pedantic-errors -Werror=3Dpedantic ..\src\main.cpp=