Skip to content

[expr.dynamic.cast] Replace "runtime check" with "dynamic check"#8811

Open
frederick-vs-ja wants to merge 1 commit intocplusplus:mainfrom
frederick-vs-ja:dynamic-cast-dynamic-check
Open

[expr.dynamic.cast] Replace "runtime check" with "dynamic check"#8811
frederick-vs-ja wants to merge 1 commit intocplusplus:mainfrom
frederick-vs-ja:dynamic-cast-dynamic-check

Conversation

@frederick-vs-ja
Copy link
Contributor

Since C++20, such check can happen in constant evaluation, so it's no longer correct to call it "runtime check". This PR changes the phrase to "dynamic check", which is consistent with

  • the "dynamic" in dynamic_cast, and
  • P3953 - changing runtime_format to dynamic_format.

Fixes #6799.

Since C++20, such check can happen in constant evaluation, so it's no
longer correct to call it "runtime check". This PR changes the phrase to
"dynamic check", which is consistent with
- the "dynamic" in `dynamic_cast`, and
- P3953 - changing `runtime_format` to `dynamic_format`.
@eisenwave eisenwave added the P3-Other Triaged issue not in P1 or P2 label Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P3-Other Triaged issue not in P1 or P2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[expr.dynamic.cast] The phrase "runtime check" is not quite correct

2 participants