--- Comment #15 from albrt2000 at gmail dot com 2010-02-08 14:49 ---
(In reply to comment #14)
> Basing on Core 906, seems rather straightforward that the snippet is
> ill-formed, the only problem is that neither 4.4 nor current mainline reject
> it.
That's also should b
--- Comment #13 from albrt2000 at gmail dot com 2010-02-08 14:25 ---
>
> struct A {
> virtual ~A();
> };
>
> A::~A() = default;
>
> I think this should be OK (but maybe not in GCC 4.4 only in 4.5)
>
This already works in gcc 4.4.1 that I use.
--
--- Comment #12 from albrt2000 at gmail dot com 2010-02-08 14:24 ---
Ok. So, gcc is conformant with the document you mentioned. I am reporting this
discussion in comp.std.c++ since it makes me think that this behaviour reduces
one of the interest of the default declaration.
--
http
--- 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
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: albrt2000 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42992