From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 70F1E3858C62; Sat, 11 Feb 2023 04:35:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 70F1E3858C62 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1676090149; bh=TBhqkTSpO0mXgHgXam4AzFby2eJ4GYGxoT43E3mORCU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Ei7lzo6ule+Y1pWpNqZGxYb+xdVNuj205M+dcO58/4eGqoe0HfiBRnSzNCtDdOwxt Cnui8EIhOivssxbk0yPSN7weQ5Ov8mSxDM1+KqXQC9Dx5y/cwWOWKcC5/uzrAoAhjP HCT+sCx40ZzBqjFxZZc6vtHO3eTyIca0VCpEUR3c= From: "herring at lanl dot gov" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/104577] needs copy constructor for class non-type template parameter Date: Sat, 11 Feb 2023 04:35:47 +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: 11.2.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: herring at lanl dot gov 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: cc 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=3D104577 S. Davis Herring changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |herring at lanl dot gov --- Comment #4 from S. Davis Herring --- The understood direction for CWG2459 makes it clear that class-type template parameters must indeed be copied; in fact, they have to be copied twice in = some cases to guarantee that they have the correct value when user-provided constructors are involved.=