[Bug c++/17335] rethrowing exceptions and capturing by reference

jason at redhat dot com gcc-bugzilla@gcc.gnu.org
Tue Sep 7 20:13:00 GMT 2004


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



More information about the Gcc-bugs mailing list