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++/17335] rethrowing exceptions and capturing by reference


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


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