Skip to content

F.6 noexcept Issue #2220 #2264

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

Merged
merged 2 commits into from
Apr 15, 2025
Merged

F.6 noexcept Issue #2220 #2264

merged 2 commits into from
Apr 15, 2025

Conversation

bgloyer
Copy link
Contributor

@bgloyer bgloyer commented Mar 19, 2025

Update F.6 'If your function must not throw, declare it noexcept' based on #2220. (Hope you don't mind @GabrielDosReis )

##### Enforcement

* Flag functions that are not `noexcept`, yet cannot throw.
* (hard) Flag low-level functions that are not `noexcept`, yet cannot throw.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a definition somewhere, what low-level means?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a definition somewhere, what low-level means?

Not defined but a note has "noexcept is most useful (and most clearly correct) for frequently used, low-level functions.". Maybe better to delete the bullet?

@hsutter
Copy link
Contributor

hsutter commented Apr 15, 2025

Editors call: Looks good, thank you!

@hsutter hsutter merged commit 9b3f20e into isocpp:master Apr 15, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants