From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19192 invoked by alias); 8 Feb 2010 12:35:38 -0000 Received: (qmail 19138 invoked by uid 48); 8 Feb 2010 12:35:29 -0000 Date: Mon, 08 Feb 2010 12:35:00 -0000 Message-ID: <20100208123529.19137.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/42983] [C++0x] Defaulted virtual destructor isn't virtual In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jwakely dot gcc at gmail dot com" 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: 2010-02/txt/msg00697.txt.bz2 ------- Comment #5 from jwakely dot gcc at gmail dot com 2010-02-08 12:35 ------- n3000 says "Only special member functions may be explicitly defaulted, and the implementation shall define them as if they had implicit definitions." An implicit destructor is not virtual. http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#906 changes this wording -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42983