0

Why are the exception specifications being deprecated post-release of the C++11 standard?

It officially mentions the reason is because of introduction of noexcept

I do not fully understand this but is it due to performance issues?

juanchopanza
  • 223,364
  • 34
  • 402
  • 480
mrdigital
  • 79
  • 1
  • 9
  • 3
    http://stackoverflow.com/a/2665194/2183287 and http://programmers.stackexchange.com/questions/114338/why-are-exception-specifications-bad – fatihk Dec 03 '13 at 07:12
  • From http://en.cppreference.com/w/cpp/language/noexcept_spec: *noexcept is an improved version of throw(), which is deprecated in C++11. Unlike throw(), noexcept will not call std::unexpected and may or may not unwind the stack, which potentially allows the compiler to implement noexcept without the runtime overhead of throw().* – chris Dec 03 '13 at 07:14

0 Answers0