From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25522 invoked by alias); 8 Feb 2010 13:49:45 -0000 Received: (qmail 25482 invoked by uid 48); 8 Feb 2010 13:49:33 -0000 Date: Mon, 08 Feb 2010 13:49:00 -0000 Message-ID: <20100208134932.25481.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: "lavock 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/msg00706.txt.bz2 ------- Comment #7 from lavock at gmail dot com 2010-02-08 13:49 ------- (In reply to comment #5) > 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. > An implicit definition does not mean an implicit declaration. Moreover, the norm use sometimes this syntax. There is a thread in comp.std.c++ about this. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42983