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

[expr.const] Change "dynamic cast" to "dynamic_cast" and move throw-expression to its own item #3919

Merged
merged 1 commit into from Apr 10, 2020

Conversation

sdkrystian
Copy link
Contributor

dynamic_cast here would be the correct terminology, we generally adhere to that everywhere else.

Also, I moved throw-expression to its own item, since it can either:

  • throw an exception
  • rethrow an exception
  • call std::terminate

Thus never being eligible to be evaluated in a constant expression. Putting it in the same item as dynamic_cast and typeid along with "[...] that would throw an exception" only serves to confuse the reader.

source/expressions.tex Outdated Show resolved Hide resolved
Copy link
Member

@jensmaurer jensmaurer left a comment

Choose a reason for hiding this comment

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

Mostly good.

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