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

[basic.start,except] Harmonize references to std::terminate #2187

Merged
merged 1 commit into from Jul 2, 2018

Conversation

jensmaurer
Copy link
Member

Fixes #2150.

source/basic.tex Outdated
@@ -5487,7 +5487,7 @@
\pnum
If the initialization of a non-local variable with static or thread storage duration
exits via
an exception, \tcode{std::terminate} is called\iref{except.terminate}.%
an exception, \tcode{std::terminate()} is called\iref{except.terminate}.%
Copy link
Member

Choose a reason for hiding this comment

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

We have a mix of "std::terminate() is called" and "std::terminate is called" here, with some examples changing in one direction and some changing in the other direction. I think we have guidance that "the function std::terminate is called" should hot have parentheses, but these cases without a "the function" prefix are ambiguous between calling a function and "calling" (evaluating) a function call expression.

Copy link
Member Author

Choose a reason for hiding this comment

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

Ok, going for "the function std::terminate is called" globally.

@zygoloid zygoloid merged commit 9db2f62 into cplusplus:master Jul 2, 2018
@jensmaurer jensmaurer deleted the b23 branch July 3, 2018 08:03
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.

None yet

2 participants