This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/42983] [C++0x] Defaulted virtual destructor isn't virtual
- From: "jwakely dot gcc at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Feb 2010 12:35:29 -0000
- Subject: [Bug c++/42983] [C++0x] Defaulted virtual destructor isn't virtual
- References: <bug-42983-18752@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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