[cpp-threads] Issue 1369 --- thread safety of std::rethrow_exception
N.M. Maclaren
nmm1 at cam.ac.uk
Tue Nov 16 08:34:20 GMT 2010
On Nov 16 2010, Anthony Williams wrote:
>
>In order to clone exceptions you need two things: the size of the object
>to clone (so you can allocate space for the new one), and the ability to
>call the copy constructor so you can actually do the copy.
You also need the constraint that all exceptions HAVE a copy constructor,
with the usual semantics. I don't see that in the existing standard.
Regards,
Nick Maclaren.
More information about the cpp-threads
mailing list