Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: added impl-defined to intro

...

When declaring an object with static or thread storage duration, and that object is not declared within a function block scope, the type's constructor must be declared noexcept(true) and must comply with ERR55-CPP. Honor exception specifications. If an exception escaped a constructor that was not declared noexcept(true), the behavior is implementation-defined.

For more information on exception specifications of destructors, see DCL57-CPP. Do not let exceptions escape from destructors or deallocation functions.

...