Regarding This Question .
C ++ 11 adds the ability to route exceptions to other threads (using std::exception_ptr ) and resumes its distribution.
I was wondering if this distribution was automatic, that is: if I cannot handle the exception in the thread, does it automatically propagate in the parent thread?
I have some doubts about this (or he will have to wait explicitly for join in some way), but I still do not understand C ++ 11. It is noteworthy that I think that in the case of std::future it can automatically save this exception.
Matthieu M.
source share