Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: terminate is just implementation-defined, not undefined

...

If the copy constructor for the exception object type throws during the copy initialization, std::terminate() is called, which can result in undefined possibly unexpected implementation-defined behavior. For more information on implicitly calling std::terminate(), see ERR50-CPP. Do not abruptly terminate the program.

...