This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/42983] [C++0x] Defaulted virtual destructor isn't virtual



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]