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

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


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



More information about the Gcc-bugs mailing list