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

F.6 noexcept Issue #2220 #2264

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

F.6 noexcept Issue #2220 #2264

wants to merge 2 commits into from

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?

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.

2 participants