In which thread is the terminate handler called?

Viewed 836

In which thread is called the terminate handler:

  1. when an exception is thrown inside a noexcept function?

  2. when the user call std::terminate()?

  3. at start up or destruction of thread?

Is it defined in the standard, will I have access to thread_local objects?

1 Answers
Related