Skip to content

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

Open
frederick-vs-ja wants to merge 1 commit into
cplusplus: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 into
cplusplus:mainfrom
frederick-vs-ja:dynamic-cast-dynamic-check

Conversation

@frederick-vs-ja

@frederick-vs-ja frederick-vs-ja commented Mar 24, 2026

Copy link
Copy Markdown
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
  • P3953R3 - renaming runtime_format to dynamic_format.

Also slightly tweaks semantic line break as drive-by.

Fixes #6799.

@eisenwave eisenwave added the P3-Other Triaged issue not in P1 or P2 label Mar 24, 2026
@eisenwave

Copy link
Copy Markdown
Member

Now very related: #8865

@jensmaurer jensmaurer added the decision-required A decision of the editorial group (or the Project Editor) is required. label Mar 29, 2026
@frederick-vs-ja
frederick-vs-ja force-pushed the dynamic-cast-dynamic-check branch from 167881b to 7ec8ef4 Compare July 21, 2026 06:45
Comment thread source/expressions.tex Outdated
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
- P3953R3 - renaming `runtime_format` to `dynamic_format`.

Also slightly tweaks semantic line break as drive-by.
@frederick-vs-ja
frederick-vs-ja force-pushed the dynamic-cast-dynamic-check branch from 7ec8ef4 to 1c74268 Compare July 21, 2026 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

decision-required A decision of the editorial group (or the Project Editor) is required. 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

3 participants