This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/17335] rethrowing exceptions and capturing by reference
- From: "jason at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Sep 2004 20:13:36 -0000
- Subject: [Bug c++/17335] rethrowing exceptions and capturing by reference
- References: <20040906133954.17335.staube@t2.technion.ac.il>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From jason at redhat dot com 2004-09-07 20:13 -------
Subject: Re: rethrowing exceptions and capturing by
reference
On 7 Sep 2004 06:31:02 -0000, "staube at t2 dot technion dot ac dot il" <gcc-bugzilla@gcc.gnu.org> wrote:
> But anyway the compiler used an unexistant copy constructor and builded
> an object for an ABSTRACT class without issiuing any warnings nor
> errors. That has to be an error, right?
The copy constructor for class exception exists, it's just trivial.
class exception is not abstract.
exception::what is not pure virtual.
Jason
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17335