From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CEF733858CD1; Wed, 31 May 2023 20:59:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CEF733858CD1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1685566792; bh=qKh0/qxYsdoFAAKQYXgAy2h/oGb6kkbQWT5qpeJs2Hg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=nPgT02/nN52fpQeaJog6PQB4kCXF2I5REqysqC5jLBz7rEKvf8VKEyt44XN3f46bH 9NbFvIkakkjyrNPaIE9xlxDwWdHHhPmrcacNvdA6keI3PB6OhOmVniToHOBgI3GFO2 eDpL1TPlJ5kZMBOutM6XjvS+UWX3yW8YuMrzqd2A= From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/84849] [DR1228] Ambiguous resolution of braze initializer list to a class with explicit constructors Date: Wed, 31 May 2023 20:59:52 +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: 7.2.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: SUSPENDED 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: short_desc see_also bug_status assigned_to 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=3D84849 Jason Merrill changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Ambiguous resolution of |[DR1228] Ambiguous |braze initializer list to a |resolution of braze |class with explicit |initializer list to a class |constructors |with explicit constructors See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3Dcwg1228 Status|ASSIGNED |SUSPENDED Assignee|mpolacek at gcc dot gnu.org |unassigned at gcc d= ot gnu.org CC| |jason at gcc dot gnu.org --- Comment #9 from Jason Merrill --- I'm not marking this as a dup of PR60027 because of the specific case of copy/move constructors, which cannot be constrained to avoid this problem. = The patch in PR109247 fixes the first three testcases, which fall into that category, but not the testcase in #5, which does not. The testcase in #6 is unrelated; there is no "explicit". Unassigning from Marek.=