Skip to content

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