From 5f447b403b32b1d8358fc4455795b6226b9d6fb3 Mon Sep 17 00:00:00 2001 From: "Dustin J. Mitchell" Date: Thu, 16 Jan 2025 04:20:31 -0500 Subject: [PATCH] Remove speaker note on "runtime evaluated constants" (#2555) It's unclear what this would mean! It was introduced in 89ddb2c19. --- src/user-defined-types/const.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/user-defined-types/const.md b/src/user-defined-types/const.md index 02ea6b5c..08b4c742 100644 --- a/src/user-defined-types/const.md +++ b/src/user-defined-types/const.md @@ -43,8 +43,6 @@ values. `const` functions can however be called at runtime.
- Mention that `const` behaves semantically similar to C++'s `constexpr` -- It isn't super common that one would need a runtime evaluated constant, but it - is helpful and safer than using a static.