From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26261 invoked by alias); 17 Sep 2008 21:18:23 -0000 Received: (qmail 25991 invoked by uid 48); 17 Sep 2008 21:17:02 -0000 Date: Wed, 17 Sep 2008 21:18:00 -0000 Message-ID: <20080917211702.25990.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/35782] support for standard layout types In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jason at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-09/txt/msg02092.txt.bz2 ------- Comment #7 from jason at gcc dot gnu dot org 2008-09-17 21:17 ------- 8.5.1 says "An aggregate is an array or a class (Clause 9) with ... no base classes (Clause 10)...." Lawrence's suggestion won't work because the copy constructor is deleted. To make aggregate initialization work, we need to expand the definition of aggregate to include classes with user-provided constructors that are all deleted. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35782