Skip to content

Commit bcca148

Browse files
committed
unique var names in example
1 parent 46a2697 commit bcca148

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CppCoreGuidelines.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13044,8 +13044,8 @@ Better performance, better compile-time checking, guaranteed compile-time evalua
1304413044
##### Example
1304513045

1304613046
double x = f(2); // possible run-time evaluation
13047-
const double x = f(2); // possible run-time evaluation
13048-
constexpr double y = f(2); // error unless f(2) can be evaluated at compile time
13047+
const double y = f(2); // possible run-time evaluation
13048+
constexpr double z = f(2); // error unless f(2) can be evaluated at compile time
1304913049

1305013050
##### Note
1305113051

0 commit comments

Comments
 (0)