[cpp-threads] Issue 1369 --- thread safety of std::rethrow_exception
N.M. Maclaren
nmm1 at cam.ac.uk
Tue Nov 16 13:54:44 GMT 2010
On Nov 16 2010, Jonathan Wakely wrote:
>
>C++ exceptions are normal objects with value semantics. 15.1 p3 says:
>"the operand of throw is treated exactly as a function argument in a
>call (5.2.2) or the operand of a return statement."
I have already explained why that is mistaken, so shall not repeat it.
>I think Hans was talking about parallel algorithms that refer to
>stack-allocated data, not exceptions.
I agree, which is why I was puzzled. They aren't relevant to this issue,
any more than any other function is.
Regards,
Nick Maclaren.
More information about the cpp-threads
mailing list