From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 495D1396EC8E; Thu, 7 May 2020 18:21:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 495D1396EC8E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1588875703; bh=eOB3UDqjJv+PensxT5MG8pifYKee4SlQO0gOsRvEPrM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=V0DUhCH/y20R4PgKP5z5CVPtHWZom2MmJqC/ZWCBapnDY0H9Sx1OAH1lM226w3jzl i7hUsasEmgGHcJhi7Tf1UrFaCNAWAXyskc8CIAw224L87aXp7Cl7p2t0sboH/lnq+B ZVXjY4yrEzfd5fk7xABM3Yo39nCaXFBgqxOWIcOs= From: "andrey.vihrov at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/94983] Empty list initialization of aggregate class with deleted default ctor rejected in C++14 and C++17 Date: Thu, 07 May 2020 18:21:43 +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: 9.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: andrey.vihrov at gmail 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: 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 May 2020 18:21:43 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94983 --- Comment #2 from Andrey Vihrov --- Thanks for the helpful link. To clarify, list initialization in a new-expression context behaves differe= ntly from other cases such as "S{};" and "S s{};" (be their behavior correct or incorrect).=