public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "albrt2000 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/42983] [C++0x] Defaulted virtual destructor isn't virtual
Date: Mon, 08 Feb 2010 13:58:00 -0000	[thread overview]
Message-ID: <20100208135834.29057.qmail@sourceware.org> (raw)
In-Reply-To: <bug-42983-18752@http.gcc.gnu.org/bugzilla/>



------- Comment #9 from albrt2000 at gmail dot com  2010-02-08 13:58 -------
(In reply to comment #6)
> Interesting. Thus I get Core 906 [Ready] as meaning that this snippet is just
> illegal, and should be rejected, in other terms, this is an accept invalid,
> right?
> 
Hi,
I'm not sure to understand your last comment (sorry I 'm not a natural english
speaker). Do you mean that virtual ~A() = default; should be an error ? If we
can not default virtual destructor, well, the feature seems less interesting.
I opened a discussion about this in comp.std.c++ (C++0x : virtual destructor
and =default) and Scott Meyers replies that this (virtual ~A() = default;)
should be correct. Those that should be a valid gcc problem.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42983


  parent reply	other threads:[~2010-02-08 13:58 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-06  7:58 [Bug c++/42983] New: [c++0x] Unvirtualzation of virtual destructor lavock at gmail dot com
2010-02-06 10:15 ` [Bug c++/42983] [c++0x] Unvirtualization " paolo dot carlini at oracle dot com
2010-02-06 12:05 ` lavock at gmail dot com
2010-02-06 20:15 ` [Bug c++/42983] [C++0x] Defaulted virtual destructor isn't virtual paolo dot carlini at oracle dot com
2010-02-07 11:44 ` paolo dot carlini at oracle dot com
2010-02-08 12:35 ` jwakely dot gcc at gmail dot com
2010-02-08 12:57 ` paolo dot carlini at oracle dot com
2010-02-08 13:49 ` lavock at gmail dot com
2010-02-08 13:56 ` jwakely dot gcc at gmail dot com
2010-02-08 13:58 ` albrt2000 at gmail dot com [this message]
2010-02-08 14:00 ` jwakely dot gcc at gmail dot com
2010-02-08 14:05 ` jwakely dot gcc at gmail dot com
2010-02-08 14:24 ` albrt2000 at gmail dot com
2010-02-08 14:25 ` albrt2000 at gmail dot com
2010-02-08 14:36 ` paolo dot carlini at oracle dot com
2010-02-08 14:49 ` albrt2000 at gmail dot com
2010-02-08 15:10 ` jwakely dot gcc at gmail dot com
2010-02-08 15:18 ` lavock at gmail dot com
2010-02-08 15:28 ` paolo dot carlini at oracle dot com
2010-02-10 21:49 ` jason at gcc dot gnu dot org
2010-02-10 22:00 ` jason at gcc dot gnu dot org
2010-02-17  0:22 ` paolo dot carlini at oracle dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100208135834.29057.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).