Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CPP29 REORG] Dissolve [except] #7320

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Commits on Oct 18, 2024

  1. [except.uncaught] Tidy the specification for uncaught exceptions

    Several concurrent fixes.  First include the normative wording
    that 'uncaught_exceptions' returns the number of uncaught
    exceptions *on the current thread*.  This wording is present
    in the core language.
    
    Then move the core wording for when an exception is uncaught
    directly into the text that talks about caught and uncaught
    exceptions.  In the process, turn the reference to
     into a note, so that there is only
    one normative specification.
    
    Finally, remove [except.uncaught] as it is now empty, and add
    the missing descriptive sentence to the intro paragraph of
    [except.special.general].  This happens to produce quite a
    pleasing page-break, but that is just luck, not design.
    AlisdairM committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    2dc8074 View commit details
    Browse the repository at this point in the history
  2. [except.terminate] Better describe the function

    While 'std:terminate' was originally conceived as the way to
    report failures in the exception handling machinery, it has
    evolved to become a more general tool for reporting unrecoverable
    failures in the C++ runtime.  This rewording attempts to address
    that evolving design, and in doing so addresses the outstanding
    %FIXME% that the current text is not adequately descriptive in
    the first place.
    AlisdairM committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    0ba172e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8c718ea View commit details
    Browse the repository at this point in the history
  4. [except.terminate] Move the 'terminate' function to [basic.start]

    Now that the terminate function is more general than
    just failures of the exception machinery, it belongs
    with Start and termination.
    AlisdairM committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    494fd23 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    42d33f1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f142ecc View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2af6f24 View commit details
    Browse the repository at this point in the history