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 05:24:12 -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 05:24 -------
Subject: Re: rethrowing exceptions and capturing by
reference
If you want to rethrow the current exception without copying, write
throw;
This is not a bug.
Jason
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17335